soap - how to send request parmater to .net webservice from android? -


sending request parameter given structure in image returns null response.so how send request parameter , receive response parameters according structure given in image. please can me out of this?

soapobject request = new soapobject(namespace, method_name); request.addproperty("exttransactionid", "-99999"); request.addproperty("password", "apiuser@123"); attributeinfo ai = new attributeinfo(); ai.name = "username"; ai.type = attributeinfo.string_class; ai.setvalue("sarvoday507"); request.addattribute(ai); request.addproperty("requestdate", "2015-02-24t06:38:00"); request.addproperty("systemid", "apiuser"); request.addproperty("uan", ""); 

create main request soapobject , add "username" property this. create "request" soapobject, add rest of properties , add "request" soapobject main request soapobject.

it this,

    soapobject request = new soapobject(namespace, "getcustomerdetail");     request.addproperty("username", username);      soapobject requestinner = new soapobject(namespace, "request");     requestinner.addproperty("requestdate", "2015-02-24t06:38:00");     requestinner.addproperty("exttransactionid", "-99999");     requestinner.addproperty("systemid", "apiuser");     requestinner.addproperty("password", "apiuser@123");     requestinner.addproperty("uan", "");      request.addsoapobject(requestinner); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -