2012-03-16 85 views
0

我试图通过ksoap2连接到Web服务,并且在LogCat上收到以下错误消息。Android应用/ ksoap2 - 尝试从Web服务获取响应时出错

I /的System.out(497):的SOAPFault - 的faultcode: 'S:服务器' faultstring: '对于输入字符串: “”' faultactor: '空' 的细节:[email protected]

任何想法可能是什么问题?

在此先感谢!

我已经添加了下面的部分代码,我收到错误..我试图通过SoapPrimitive检索结果。

`try {
HttpTransportSE androidHttpTransport1 = new HttpTransportSE(URL); //进行肥皂调用。 androidHttpTransport1.call(SOAP_Levels,envelope1);

   SoapPrimitive result1 = (SoapPrimitive)envelope1.getResponse();` 

回答