2010-09-10 74 views
0

我试图运行轴“入门”从这里的示例代码:无法获得轴例如运行

比第15行添加缺少的报价

http://ws.apache.org/axis/java/user-guide.html#BasicsGettingStarted

其他是相同的代码与一些添加日志记录我得到这个错误:

Transport is [email protected] 
Set target endpoint address 
Set operation name 
Enter: Call::invoke(ns, meth, args) 
operation=null 
Failed to set EntityResolver to null on DocumentBuilder 
java.lang.NullPointerException 
    at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntityResolver.java:75) 
    at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocumentBuilder.java:179) 

任何想法?我看到有一个类似的问题,但没有答案。我正在使用Axis 1.3和Weblogic 9.2.3。

感谢

回答

0

这令我的第一件事情就是网址:

http://ws.apache.org:5049/axis/services/echo

似乎并不可用。你可以尝试另一个?

+0

那么,我试图使用本地服务,但我得到了同样的结果。另外,它是否因为服务停止而抛出异常? – Scott 2010-09-10 16:56:49