Android sending SOAP object over Https via ksoap2 2.5.8

Posted by Jack-V on Stack Overflow See other posts from Stack Overflow or by Jack-V
Published on 2012-10-12T03:32:44Z Indexed on 2012/10/12 3:36 UTC
Read the original article Hit count: 183

Filed under:
|
|
|

My first time posting a question here so please do not mind my mistakes here.

I'm currently making an android application fetching and sending information from a .asmx web service. Everything goes well with the ksoap2 library and am using HttpTransportSE to call the web service. So now what I'm trying to do is to use the HttpsTransportSE to call the web service over Https. I got java.security.cert.certpathvalidatorexception trustanchor for certpath not found exception.

I have the server certificate in .pfx , .jks and .bks format. My questions is what do i do with it to make my HttpsTransportSE call to be success? I've read around with articles using custom SSLSocketFactory but am still not sure how to implement it in my application.

Thanks in advance for any suggestion/advices

© Stack Overflow or respective owner

Related posts about android

Related posts about soap