How to call asp.net web service in android java? -


hi everyone, how call asp.net web service using android web service having fnsendsms(phoneno,message) on click of sendsms button want call fnsendsms function how call using java have download jar files please me thanks.

first, download ksoap2 android jar. can call web service like:

     soapobject request = new soapobject(your_connection_namespace, methodname);              //add parameters web service method..         request.addproperty(parametername, parametervalue);          soapserializationenvelope envelope = new soapserializationenvelope(soapenvelope.ver11);         envelope.dotnet = true;         envelope.setoutputsoapobject(request);          httptransportse androidhttptransport = new httptransportse(your_connection_url);         androidhttptransport.call(your_action_name, envelope);          result = (object) envelope.getresponse(); 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -