http://blog.csdn.net/lifuxiangcaohui/article/details/8090503
————————————————————————————————————————————————————————————————————————————————————
axis client error Bad envelope tag: definitions2009-03-24 20:17
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad envelope tag: definitions
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad envelope tag: definitions
引起错误原因是:
wsdl的地址没写对。
String endpoint = "http://localhost:8080/wsoap/services/EchoServiceName?wsdl"; XXX
String endpoint = http://localhost:8080/wsoap/services/EchoServiceName; yes