Android ksoap2 via https

前端 未结 3 1732
长情又很酷
长情又很酷 2020-12-18 11:54

has any one been able to connect to a soap server using ksoap2 android via https?

I keep getting the error that \"Hostname <###>was not verified\"

I\'m do

3条回答
  •  轮回少年
    2020-12-18 12:52

    android ksoap2 2.5.2 is out which supports https

    http://code.google.com/p/ksoap2-android/

    the problem is i dont quite sure how to use it

    HttpsTransportSE aht = new HttpsTransportSE(host, port, file, timeout)
    

    what shoud i enter for "file" parameter? anybody have any idea?

    btw AndroidHttpTransport is deprecated in the latest version of ksoap2

提交回复
热议问题