开发者

Android: soap request with DefaultHttpClient

开发者 https://www.devze.com 2023-02-14 01:59 出处:网络
would you please provide开发者_运维问答 me with a method to make a soap request using Android\'s DefaultHttpClient

would you please provide开发者_运维问答 me with a method to make a soap request using Android's DefaultHttpClient

thanks


SOAP is XML exchange over HTTP. So besides a DefaultHttpClient you need something to parse the higher-level XML exchange.

I suggest you use Ksoap 2. Here is a android jar: http://code.google.com/p/ksoap2-android/wiki/HowToUse

Here is an example of using ksoap: http://www.helloandroid.com/tutorials/using-ksoap2-android-and-parsing-output-data

0

精彩评论

暂无评论...
验证码 换一张
取 消