注意返回类型,如果是XML格式,使用
1:SoapObject soapObject = (SoapObject) envelope.getResponse();
2:SoapObject result = (SoapObject)envelope.bodyIn;
如果是数组,JSON,字符串或别的,最好使用
Object object = envelope.getResponse();
如果服务器返回值的类型是byte[] 的时候,使用Object object = envelope.getResponse();和SoapObject result = (SoapObject)
二、返回anyType{}
参数不对,或参数顺序有误