我想连接到eBay API。我下载了WSDL from their sitewsdl2java存在地址时端口地址无效
我可以看到地址是否存在:
<wsdl:service name="FindingService">
<wsdl:documentation>
<Version>1.12.0</Version>
</wsdl:documentation>
<wsdl:port name="FindingServiceSOAPPort"
binding="tns:FindingServiceSOAPBinding">
<soap12:address
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
location="https://svcs.ebay.com/services/search/FindingService/v1"/>
</wsdl:port>
</wsdl:service>
然而,当我尝试在Eclipse中创建一个新的Web服务客户端项目中,我得到:
IWAB0399E Error in generating Java from WSDL: java.io.IOException:
Emitter failure. Cannot find endpoint address in port FindingServiceSOAPPort
in service FindingServiceLocator
有什么事情是问题吗?
您好,感谢您怎么看,其他的网址是错的?我收到了https://svcs.ebay.com/services/search/FindingService/v1和沙箱 – Dejell
的相同响应,我也尝试使用沙盒网址,但它不起作用 – Dejell
http://svcs.sandbox。 ebay.com/services/search/FindingService/v1?wsdl提供描述符信息,而svcs.ebay.com/services/search/FindingService/v1?wsdl不起作用。 – user1339772