大家好,我得到了
“Microsoft.SharePoint.SoapServer.SoapServerException”的肥皂错误异常类型
我的代码是 SoapObject soapRequest = new SoapObject(nameSpace,methodName);
//soapRequest.addProperty("GetListResult", "TEST");
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapSerializationEnvelope.VER11);
envelope.dotNet=true;
envelope.setOutputSoapObject(soapRequest);
HttpTransportSE transport = new HttpTransportSE(url);
//AndroidHttpTransport httpTransport;
try {
System.out.println("calling service");
transport.call(SOAP_ACTION,envelope);
System.out.println("calling complete getting result");
//SoapObject soapResult = (SoapObject) envelope.bodyIn;
System.out.println("soap result is "+envelope.getResponse());
} catch (IOException e) {
System.out.println("IOExceptio");
e.printStackTrace();
} catch (XmlPullParserException e) {
// TODO Auto-generated catch block
System.out.println("XmlPullParserException");
e.printStackTrace();
}
提前致谢!!!