我想連接到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