Friday, 28 September 2012

Types of Webservices

Big Webservice
     Big web service uses SOAP standard to communicate between client and server. SOAP is a XML based protocol running on top of HTTP. SOAP(Simple Object Access Protocol) is a communication protocol allow us to bypass firewall, main advantage is a platform independent and language independent.

   SOAP Message is a XML document
Four Tags in SOAP are
  • An Envelope (required) element that identifies the XML document as a SOAP message
  • An optional Header element that contains header information
  • A Body (required) element that contains call and response information
  • An optional Fault element containing errors and status information
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
<soap:Header>

</soap:Header>
<soap:Body>

  <soap:Fault>
 
  </soap:Fault>
</soap:Body>
</soap:Envelope>

WSDL (Web Services Description Language) is an XML-based language for locating and describing Web services.
     By using online tool http://sudzc.com/ we can convert our WSDL to ObjectiveC for iOS Project. This will automatically create and handle SOAP request , SOAP response respectively based on the WSDL.


RESTful Webservice
         REST stands for Representational State Transfer . RESTful web services are based on HTTP protocol and its methods are GET, POST,PUT and DELETE. REST is not a protocol and not a standard just a architecture style to communicate between client and server.

5 comments:

  1. That’s a awesome article you posted. It's very nice iPad and iphone apps.

    iPhone App Development :: && :: Mobile and Web Application Development

    ReplyDelete
  2. really nice article !!! I had learned so many things reading this article, thanks a lot for sharing the information. Our site also provides an innovative and interactive Mobile App Services and if you want more ideas to refer our site: www.hvantagetechnologies.com

    ReplyDelete
  3. It's really informative! Thanks for the great article.
    Yberry Infosystem is a Mobile App & Web Development company, offering a wide range of services web design, web development, Mobile app Development, Mobile Website design, mobile website development, SEO , E-commerce solutions that covers almost all fields in the best possible way. Visit: www.yberryinfosystem.com

    ReplyDelete
  4. Nice post. Thanks for sharing such an helpful information.
    Android App Development in Lucknow services that have extensive experience in Android development.

    ReplyDelete
  5. Madaalarqam offers Mobile Application development servicess for business websites to Application Developmentportals we design & develop web applications

    ReplyDelete