Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid web-services using KSOAP2 and HTTPS
    primarykey
    data
    text
    <p>I'm trying to write a webservice for android using JAVA and KSOAP2. SOAP is the only protocol I can use and ReST is not an option.</p> <p>So, I successfully created the SOAP request and connected to the server using HTTP. But, I need HTTPS as sensitive information will be transferred. Disabling the certificate check is not an option as the data is sensitive and I MUST use SSL. </p> <p>Since Android threw certification error in HTTPS, I created my own keystore following</p> <p>1- <a href="http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/" rel="nofollow noreferrer">http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/</a></p> <p>and added it to the project.</p> <p>My code is similar to<br> 2- <a href="http://www.techques.com/question/1-4646121/Not-trusted-certificate-using-ksoap2-android" rel="nofollow noreferrer">http://www.techques.com/question/1-4646121/Not-trusted-certificate-using-ksoap2-android</a>. </p> <p>I have also gone through </p> <p>3 - <a href="https://stackoverflow.com/questions/995514/https-connection-android#1000205">Https Connection Android</a></p> <p>4 - <a href="https://stackoverflow.com/questions/4115101/apache-httpclient-on-android-producing-certpathvalidatorexception-issuername">Apache HttpClient on Android producing CertPathValidatorException (IssuerName != SubjectName)</a></p> <p>but can't use them directly.</p> <p>A pseudo code that shows the code in 1 in relation to the code in 2 with HTTPS will be greatly appreciated. </p> <p>What does the last comment in 2 actually mean ? He uses HttpsTransportSE in his code but says he extended HttpsServiceConnectionSE. Can you show this in the pseudo code ?</p> <p>Also, should I use HttpsTransportSE or HttpsServiceConnectionSE to provide the URL to which I will be connecting.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload