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

相关文章:

  • 2023-03-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-01-06
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
  • 2022-01-11
  • 2021-06-25
  • 2022-01-19
  • 2021-07-19
相关资源
相似解决方案