我有两台android机器
一台调用https接口正常,
一台调用https接口报错org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@1:7 in java.io.InputStreamReader@4194a948) 代码是这样的
SoapObject request = new SoapObject(namespace, method);
for (int i = 0, len = params.size(); i < len; i++) {
request.addProperty(params.get(i).getName(), params.get(i)
.getValue());
}
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER10);
envelope.bodyOut = request;
envelope.setOutputSoapObject(request);
// envelope.encodingStyle = "UTF-8";
HttpsTransportSE httpTransportSE = new HttpsTransportSE(host, port,
WSUrl, 3000);
FakeX509TrustManager.allowAllSSL();
httpTransportSE.call(namespace + method, envelope);
求大神帮忙解惑。Androidhttps