infoliks

Saturday, December 22, 2012

Call or Consume a SOAP web service in android


REST Web Service Demo

Call or Consume web service in android  

This easy way to call or consume a soap webservice in android,We can call ith with the help of a kSoap   library which will help us to consume and get result easily.
A ksoap is a library of reading http request and response from the browser and the library will give the final result for us in the form of a result. Then we can parse it to our own format with the help of parser like XML parser etc,.....

SAMPLE WEBSERVICE LINK
http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit

http://www.w3schools.com/webservices/tempconvert.asmx?op=FahrenheitToCelsius


Webservice sample screen in the xml format.






The source code will be here to get the correct file.please follow the link to download it

No comments:

Post a Comment

There was an error in this gadget