开发者

Axis Web Service throws error: Exception occurred while trying to invoke service method

开发者 https://www.devze.com 2022-12-22 06:18 出处:网络
I am trying to invoke a web service that I have just hosted on out linux redhat server but it throws the error {http://xml.apache.org/axis/}stackTrace:Exception occurred while trying to invoke service

I am trying to invoke a web service that I have just hosted on out linux redhat server but it throws the error {http://xml.apache.org/axis/}stackTrace:Exception occurred while trying to invoke service method + "methodname" I host the service in apache tomcat webserver

The same s开发者_运维问答ervice works fine when i host it in the windows xp environment with the same apache web server...

Is there anyone who has experienced a similar problem.

thanks..


in the axis2.xml ...

<parameter name="sendStacktraceDetailsWithFaults">false</parameter>

set the sendStacktraceDetailsWithFaults parameter to true and you should get a copy of the stacktrace in the response (reset to false for production)


I have experienced something similar. Our dev environment was running JBoss and Ubuntu, and prod/test was running Red Hat, Apache in front and JBoss.

Prod/test was running https with certificates, and our problem was that our certificates where out of date. When we fixed that, the webservice calls got through. Maybe thats your problem?

Another thing you should do to debug is see if the wsdl is deployed and check what the webservice address it is deployed under. Maybe the address is very different in prod?

For instance in JBoss if you go to

http://localhost:8080/jbossws/services
you will see all the services that are deployed and what url they have.

0

精彩评论

暂无评论...
验证码 换一张
取 消