Axis Web Service引发错误:尝试调用服务方法时发生异常 [英] Axis Web Service throws error: Exception occurred while trying to invoke service method

查看:350
本文介绍了Axis Web Service引发错误:尝试调用服务方法时发生异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试调用刚刚托管在linux redhat服务器上的Web服务,但是会引发错误{

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

当我使用相同的apache Web服务器在Windows xp环境中托管该服务时,该服务可以正常工作.

The same service 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.

谢谢..

推荐答案

在axis2.xml中...

in the axis2.xml ...

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

将sendStacktraceDetailsWithFaults参数设置为true,您应该在响应中获得stacktrace的副本(生产时重置为false)

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

这篇关于Axis Web Service引发错误:尝试调用服务方法时发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆