0

would you please provide me with a method to make a soap request using Android's DefaultHttpClient

thanks

Mina Wissa
  • 10,923
  • 13
  • 90
  • 158

1 Answers1

2

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

Peter Knego
  • 79,991
  • 11
  • 123
  • 154