Page 1

Android Training in Chandigarh CBitss Technologies


What is SOAP ? SOAP based web-services are rare in these days, but there are lots of old companies whose web-services are still SOAP-based. If anyone wants to consume those services from Android, it is very important to know the procedure of consuming SOAPbased web service. There are lots of tutorials on consuming RESTful web-services with better explanation, but there are a few tutorials on consuming SOAP web-services with a clear explanation.

CBitss Technologies SCO-23, 24,25, Level 3,Near Passport office, Sector


How to call soap web service? ● First create request object of SoapObject class. ● Now add information to request object that you want to send to web service. This is done using PropertyInfo class. ● Create soap envelope using SoapSerializationEnvelope class. ● Assign request object to envelope using setOutputSoapObject(). ● Create object of HttpTransportSE() class. Using this object call the soap web service. ● We can get response from web service by using getResponse() method of SoapSerializationEnvelope class. The response is stored into SoapPrimitive reference variable.


Advantages of SOAP? ● It is platform and language independent. ● SOAP provides simplified communications through proxies and firewalls, as mentioned above. ● It has the ability to leverage different transport protocols, including HTTP and SMTP, as well as others. CBitss Technologies SCO-23, 24,25, Level 3,Near Passport office, Sector


CBitss Technologies Contact Us : 9988741983, 9914641983 Website :http://cbitss.in/android-training-in-chandigarh/ CBitss Technologies SCO-23, 24,25, Level 3,Near Passport office, Sector


Android training in chandigarh  

Android Training in Chandigarh provided by CBitss Technologies. for more information Contact us 9914641983

Android training in chandigarh  

Android Training in Chandigarh provided by CBitss Technologies. for more information Contact us 9914641983

Advertisement