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

posted on 2015-06-11 16:40  网络大豆  阅读(1373)  评论(0编辑  收藏  举报