【发布时间】:2012-05-10 21:41:16
【问题描述】:
原帖是here
我有一个由 Jax WS 2.1.5 创建并作为 HTTPS 服务公开的第三方 Web 服务 (WSDL :- https://somedomain.com/location/soap/locationfinderservice?wsdl) 我正在尝试使用 wsimport 创建一个客户端。我正在使用 jdk1.6.0_04 以实现兼容性(我切换了我在上一篇文章中解释过的 JDK 版本)现在我收到了新错误
javax.xml.stream.XMLStreamException: Invalid WSDL expected {http://schemas.xmlsoap.org/wsdl/}definitions found {https://schemas.xmlsoap.org/wsdl/}definitions at (lineLine number = 1
问题是https://schemas.xmlsoap.org/wsdl/ 不存在。在这种情况下如何生成客户端存根?
【问题讨论】:
标签: web-services wsdl wsimport