1.抛出此类
错误大部分都是
服务端发布webservice调用出错:如下列
异常
Exception in thread "main" SoapFault - faultcode: 'soapenv:Server.userException' faultstring: 'org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file [D:\JavaSoft\eclipse-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)
此为调用webservice时,服务端创建实例对象时,找不到spring相应的配置文件”applicationContext.xml“,诸如此类服务端代码执行出现异常的错误。会通过Android调用webservice时打印出来。