我参考文章:
http://ws.apache.org/axis/java/install.html
想调试一下axis自带的例子,但是做到“Step 7: Testing”的时候,出现异常:
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (500)Internal Server Error
faultActor:
faultNode:
faultDetail:
{}:return code: 500
。。。
抛出一个servlet运行的异常
。。。
{http://xml.apache.org/axis/}HttpErrorCode:500
(500)Internal Server Error
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:663)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
at org.apache.axis.client.Call.invoke(Call.java:2702)
at org.apache.axis.client.Call.invoke(Call.java:2378)
at org.apache.axis.client.Call.invoke(Call.java:2301)
at org.apache.axis.client.Call.invoke(Call.java:1758)
at samples.stock.GetQuote.getQuote(GetQuote.java:81)
at samples.stock.GetQuote.main(GetQuote.java:95)
请问各位这是什么原因呢?
我用的环境是:Tomcat4.1.31 axis-1_2RC2
现在,当我运行http://localhost:8080/axis/index.html的时候没有问题,点击这一页中的链接也都可以打开下一页。但是,当点击“SOAPMonitor”这个链接的时候,虽然打开了SOAP Monitor,但是页面上显示"The SOAP Monitor is unable to communcate with the server."。
是我的axis配置的有问题么?或是其他什么问题
谢谢各位了
500错误的意思是找不到文件,仔细检查一下你的axis配置