Java Axis2 Webservices响应未知,为带SoapUI的falutstring
我已经在Tomcat6.0上使用Axis实现和部署了Webservice,它使用的是由ADB(Axis2数据绑定框架)生成的Java客户端,因为我需要避免Webservice客户端中的内部类Java Axis2 Webservices响应未知,为带SoapUI的falutstring,java,web-services,soap,axis2,soapui,Java,Web Services,Soap,Axis2,Soapui,我已经在Tomcat6.0上使用Axis实现和部署了Webservice,它使用的是由ADB(Axis2数据绑定框架)生成的Java客户端,因为我需要避免Webservice客户端中的内部类 1) I choose the xmlbeans axis client. but it didnt work returns Axisfault unknown 2) tested with SOAPUI and got the following response. <soapenv:Envel
1) I choose the xmlbeans axis client. but it didnt work returns Axisfault unknown
2) tested with SOAPUI and got the following response.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>unknown</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
checked the following link here and enabled the axis log to TRACE and could not fine anything in the log as error, could anyone help on this ?
Thanks in advance
http://stackoverflow.com/questions/1882398/org-apache-axis2-axisfault-unknown-when-calling-web-service-with-java
有什么问题?不要说“它不起作用”,解释什么不起作用,你期望什么,最后你想做什么。谢谢你的回答。1) 我在SoapUI中创建了一个新的SOAP项目,通过提供WSDL URL,2)自动生成请求,填充必要的值并调用。我希望方法中有一个控制台并从WS返回结果,但除了上面的结果作为响应外,什么都没有发生。谢谢
6928440022] Invoking flowComplete() for Handler 'SOAPActionBasedDispatcher' in Phase 'Transport'
2015-11-07 20:34:00,094 [http-8082-2] DEBUG org.apache.axis2.engine.Phase - [MessageContext: logID=urn:uuid:5D2DFFEB29EDBF25B4144
6928440022] Invoking flowComplete() for Handler 'RequestURIBasedDispatcher' in Phase 'Transport'
2015-11-07 20:34:00,095 [http-8082-2] DEBUG org.apache.axis2.transport.http.AxisServlet - OnDemandLogger initialized for class or
g.apache.axis2.transport.http.AxisServlet is:org.apache.commons.logging.impl.Log4JLogger@7bfb7cbb
2015-11-07 20:34:00,095 [http-8082-2] DEBUG org.apache.axis2.transport.http.AxisServlet - org.apache.axis2.AxisFault
2015-11-07 20:34:00,096 [http-8082-2] DEBUG org.apache.axis2.addressing.AddressingHelper - [MessageContext: logID=urn:uuid:5D2DFF
EB29EDBF25B41446928440022] isFaultRedirected: FaultTo is null. Returning isReplyRedirected
2015-11-07 20:34:00,098 [http-8082-2] DEBUG org.apache.axis2.addressing.AddressingHelper - [MessageContext: logID=urn:uuid:5D2DFF
EB29EDBF25B41446928440022] isReplyRedirected: ReplyTo is null. Returning false
2015-11-07 20:34:00,098 [http-8082-2] DEBUG org.apache.axis2.context.ConfigurationContext - messageID is null.
2015-11-07 20:34:00,099 [http-8082-2] TRACE org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.or
g/2005/08/addressing/anonymous is Anonymous: true
2015-11-07 20:34:00,100 [http-8082-2] TRACE org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.or
g/2005/08/addressing/anonymous is Anonymous: true
2015-11-07 20:34:00,107 [http-8082-2] TRACE org.apache.axis2.engine.AxisEngine - [MessageContext: logID=urn:uuid:5D2DFFEB29EDBF25
B41446928440175] sendFault:null