Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/194.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在android中使用SOAP Web服务Ping服务器HTTPS_Android_Ssl_Soap_Truststore - Fatal编程技术网

在android中使用SOAP Web服务Ping服务器HTTPS

在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);

我不熟悉soap web服务。我想使用https ping我的服务器,我想使用soap。我参考了以下链接 但是,它在我的代码中不起作用。这是我的代码片段

SSLConection.allowAllSSL();
HttpsTransportSE httpstransport = new HttpsTransportSE("myserver", 443, "rmo_t_json_v2.asmx", 1000);
httpstransport.call(SOAP_ACTION, envelope);

在这里我必须调用
allowssl()
。HttpStranSports中的第三个参数是什么

你试过还是我没有试过Ksoap2源文件。我没有得到确切的信息。还有一件事,我正在使用受信任的证书,而不是不受信任的证书。您是否尝试过,或者实际上我没有尝试过Ksoap2源文件。我没有得到确切的信息。还有一件事,我使用的是可信证书,而不是不可信的。