通过https的Android ksoap2 [英] Android ksoap2 via https
问题描述
有任何一个通过HTTPS?
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"
我在做
AndroidHttpTransport androidHttpTransport = new AndroidHttpTransport (URL);
androidHttpTransport.call(SOAP_ACTION, envelope);
显然回头看其他KSOAP这是不是为Android您更换给我们一个不同的呼叫通过HTTPS连接,但我不能找到一个方法来做到这一点在Android版本。
apparently looking back at other ksoap which isn't for android your ment to us a different call to connect via https, but i can't find a way to do it in the android version.
任何人都找到了一种方法有关,或知道调用IM换货使用?
Anyone found a way about or know the call im ment to use?
感谢您帮助
推荐答案
安卓ksoap2 2.5.2超出它支持HTTPS
android ksoap2 2.5.2 is out which supports https
HTTP://$c$c.google.com/p/ksoap2 -Android /
问题是我不很清楚如何使用它
the problem is i dont quite sure how to use it
HttpsTransportSE aht = new HttpsTransportSE(host, port, file, timeout)
什么768,16我输入文件参数?任何人有任何想法?
what shoud i enter for "file" parameter? anybody have any idea?
顺便说一句AndroidHttpTransport是pcated在ksoap2最新版本的德$ P $
btw AndroidHttpTransport is deprecated in the latest version of ksoap2
这篇关于通过https的Android ksoap2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!