概述
1.抛出此类错误大部分都是服务端发布webservice调用出错:如下列异常
[color=red]Exception in thread "main" SoapFault - faultcode: 'soapenv:Server.userException' faultstring: 'org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:JavaSofteclipse-ee]; nested exception is java.io.FileNotFoundException: ' faultactor: 'null' detail: org.kxml2.kdom.Node@5451c3a8
at org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(SoapSerializationEnvelope.java:116)
at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:137)
at org.ksoap2.transport.Transport.parseResponse(Transport.java:63)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:100)
at com.wuhao.itinfor.util.WebServiceTool.getWebServiceData(WebServiceTool.java:36)
at com.wuhao.itinfor.util.WebServiceTool.main(WebServiceTool.java:50)[/color]
此为调用webservice时,服务端创建实例对象时,找不到spring相应的配置文件”applicationContext.xml“,诸如此类服务端代码执行出现异常的错误。会通过Android调用webservice时打印出来。
最后
以上就是精明大碗为你收集整理的Exception in thread "main" SoapFault - faultcode: 'soapenv:Server.userException'的全部内容,希望文章能够帮你解决Exception in thread "main" SoapFault - faultcode: 'soapenv:Server.userException'所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复