Android Accessing Soap Service
I am using the following code to access the webservice public SoapObject getWeather() throws Exception { SoapObject request = new SoapObject('http://www.freewebservicesx.com',
Solution 1:
Please change the line:
envelope.dotNet = "true";
to
envelope.dotNet = "false";
because "true" is always send a null value to webserver,so set a false..
and other thing.. in your code
request.addProperty("Username","myusername");
request.addProperty("Password","pass");
Check your parameter name (Username,Password) on both client and server side webservice that must be same, it means it's case sensitive.
I hope code help you.
Post a Comment for "Android Accessing Soap Service"