axis wsdl 错误

http://blog.csdn.net/wangjinwei6912/article/details/8512598

webService 报aultString: org.xml.sax.SAXException: Bad envelope tag: definitions

1.发现把http://219.134.187.154:8088/bsp-oip/ws/CustomerService?wsdl

后面的?wsdl去掉后瞬间正常了。。。

2.http://stackoverflow.com/questions/3046667/accessing-magento-api-with-java-procedure-%D1%85%D1%85%D1%85-not-present
Accessing Magento API with Java : Procedure ххх not present

I've never used the API from java before, but looking over your code example, you said you generated code using the v2 WSDL (which is supposed to have better Java/.NET SOAP support), but in your code sample you're pointing at the v1 URL

http://localhost/magento/index.php/api/
I would assume you want your code sample pointing at

http://magento1point4.dev/index.php/api/v2_soap
but again, not a big Java (or SOAP, for that matter) guy, so appologies if there's something obvious I'm missing here.

你可能感兴趣的:(axis wsdl 错误)