I need to make some simple web service call from android.
I know the server ip address – and i know what it the method that i need to call.
The server is base on .net platform – and the method that i need to call will return to me simple string that will tell me what is the server web service version.
I don’t know how to make this call.
Thanks for any help .
The answer depends on what sort of webservice this is… a SOAP (XML) webservice would need some XML capabilities, easiest option is to use a library (see below for KSOAP2)… a REST webservice might work with pure HTTP (perhaps plus JSON)…
For some sample source code/walkthrough/library/doc regarding all mentioned options on how to call a webservice from Android see: