java.lang.ClassCastException: org.ksoap2.SoapFault

SoapObject soapObject = (SoapObject) envelope.getResponse();

使用上面这个,

 SoapObject result = (SoapObject)envelope.bodyIn;

这个是服务器那边没有搞定:

1、 INFO/System.out(2185): SoapFault - faultcode: 'soapenv:Server.userException' faultstring: 'java.lang.NullPointerException' faultactor: 'null' detail: org.kxml2.kdom.Node@40662450


参考1:http://blog.csdn.net/windzou36/article/details/7315898

参考2:http://blog.csdn.net/whybiang/article/details/6533051

参考3:http://topic.csdn.net/u/20110727/11/fbce9413-686c-4227-bb23-c74d7b9a9f0a.html

你可能感兴趣的:(java.lang.ClassCastException: org.ksoap2.SoapFault)