阅读背景:

Axis2 Web服务和Eclipse WSDL编写:在运行wsdl2java时将axis错误添加到WSDL会导致异常。

来源:互联网 

I am trying to create a contract-first Web Service using Apache Axis2 1.4.1. Since Eclipse has what seems like a pretty complete wsdl editor I started autoring my wsdls using Eclipse´s editor. Everything works great, I can generate Java classes using wsdl2java and the Web Services work when deployed. However, adding an exception or fault to a Web Service results in an exception saying that Element QName is null for the Fault. Does anyone know what may cause this? Inspecting the wsdl doesn´t give me any direct answers either. It seems the Fault/exception is defined just like other elements.I am trying to create a contract-first Web Serv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: