我已经创建了一个 WSDL,并且想使用 AXIS 2 作为我的 Web 服务器。
我将其下载到我的 C:\axis2-1.6.1 并设置所有必需的安装参数。
我的问题是,我将 *.aar 文件部署到存储库/服务文件夹和 axis2server 中 能够解压缩它,当我导航到
时,我看到了我的网络服务当我使用 SOAPUI 测试我的服务时,我只收到此错误。
<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>
不确定,但我在安讯士控制台上没有看到任何错误?
哪里可以找到解决此问题的相关信息?
最佳答案
此链接包含一些有关配置轴以在错误消息中包含堆栈跟踪的建议:
http://www.mail-archive.com/axis-user@ws.apache.org/msg41600.html
如果它被删除,请复制以下 Keith Chapman 的建议:
Try setting these two parameters in your axis2.xml
<parameter name="sendStacktraceDetailsWithFaults">true</parameter>
<parameter name="DrillDownToRootCauseForFaultReason">true</parameter>
它不能替代了解错误输出的去向,但它可能有助于解决眼前的问题。
关于java - 如何排除轴 2 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8783234/