How to troubleshoot Axis 2 Error

穿精又带淫゛_ 提交于 2019-12-12 03:12:24

问题


I have created a WSDL and I wanted to make use of AXIS 2 as my web server.

I downloaded it into my C:\axis2-1.6.1 and set all the required installation parameters.

My question is, I deployed my *.aar file into the repository/services folder and the axis2server was able to decompressed it and I see my web service when I navigate into the

http://localhost:8080

When I used SOAPUI to test my service, I am only getting this error.

<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>

Not sure but I do not see any error on the Axis console?

Where can I find any relevant info to solve this problem?


回答1:


This link contains a couple of pieces of advice on configuring axis to include stacktraces in the fault message:

http://www.mail-archive.com/axis-user@ws.apache.org/msg41600.html

In case it gets removed, here's Keith Chapman's suggestion reproduced:

Try setting these two parameters in your axis2.xml

<parameter name="sendStacktraceDetailsWithFaults">true</parameter>
<parameter name="DrillDownToRootCauseForFaultReason">true</parameter>

It's not a replacement for knowing where your error output is going, but it may help with the immediate problem.



来源:https://stackoverflow.com/questions/8783234/how-to-troubleshoot-axis-2-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!