Android: soap request with 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
精彩评论