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: definiti
错误解决:
1.wsdl的地址没写对。
String endpoint = " http://localhost:8080/wsoap/services/EchoServiceName?wsdl"; XXX
把返回的xml打印出来,
看看definitions标签。