0
我使用使用ksoap2在android系统越来越参数错误
我收到此错误
SoapFault - faultcode: 'soap:Server' faultstring: 'Server was unable to process request. ---> The parameterized query
java.lang.ClassCastException: org.ksoap2.SoapFault cannot be cast to org.ksoap2.serialization.SoapObject
我使用加入参数的PropertyInfo
PropertyInfo fromProp =new PropertyInfo();
fromProp.setName("uname");
fromProp.setValue("test");
fromProp.setType(String.class);
request.addProperty(fromProp);
PropertyInfo toProp =new PropertyInfo();
toProp.setName("pwd");
toProp.setValue("test");
toProp.setType(String.class);
request.addProperty(toProp);
调用Web服务要求出现这样的
validLogin{uname=simar; pwd=simar; }
事我试图
1)注释和的取消注释以下行
envelope.dotNet = true;
2)否服务器侧误差作为不带参数的连接可以是 完成并得到虚拟结果
3)即使想这
request.addProperty("uname","simar");
request.addProperty("pwd","simar");