在android中使用SOAP Web服务Ping服务器HTTPS
我不熟悉soap web服务。我想使用https ping我的服务器,我想使用soap。我参考了以下链接 但是,它在我的代码中不起作用。这是我的代码片段在android中使用SOAP Web服务Ping服务器HTTPS,android,ssl,soap,truststore,Android,Ssl,Soap,Truststore,我不熟悉soap web服务。我想使用https ping我的服务器,我想使用soap。我参考了以下链接 但是,它在我的代码中不起作用。这是我的代码片段 SSLConection.allowAllSSL(); HttpsTransportSE httpstransport = new HttpsTransportSE("myserver", 443, "rmo_t_json_v2.asmx", 1000); httpstransport.call(SOAP_ACTION, envelope);
SSLConection.allowAllSSL();
HttpsTransportSE httpstransport = new HttpsTransportSE("myserver", 443, "rmo_t_json_v2.asmx", 1000);
httpstransport.call(SOAP_ACTION, envelope);
在这里我必须调用
allowssl()
。HttpStranSports中的第三个参数是什么 你试过还是我没有试过Ksoap2源文件。我没有得到确切的信息。还有一件事,我正在使用受信任的证书,而不是不受信任的证书。您是否尝试过,或者实际上我没有尝试过Ksoap2源文件。我没有得到确切的信息。还有一件事,我使用的是可信证书,而不是不可信的。