Bamboo Rocket Apps
  • Facebook
  • Google
  • Twitter
  • Youtube
  • Rss
  • Home
  • About us
  • Blog
  • mybalsamiq
Search
Home» App Strategy / Marketing » Why REST + JSON is preferred over SOAP for mobile web services

Why REST + JSON is preferred over SOAP for mobile web services

Posted by mark - 21 April 2012 - App Strategy / Marketing, Apps
0

References

SOAP vs REST
Source - http://spf13.com/post/soap-vs-rest

SOAP vs REST – the right web service
Source – http://geeknizer.com/rest-vs-soap-using-http-choosing-the-right-webservice-protocol/

JSON or SOAP XML
Source – http://stackoverflow.com/questions/1237649/json-or-soap-xml

REST with JSON vs SOAP with XML
Source – http://www.slideshare.net/kaniskamandal/rest-with-json-vs-soap-with-xml

Goodbye SOAP – Welcome JSON REST
Source – http://www.skill-guru.com/blog/2010/11/02/goodbye-soap-welcome-json-rest/

Introduction to REST
Source – http://www.restlet.org/about/introduction

Learn REST: A Tutorial
Source – http://rest.elkstein.org/2008/02/what-is-rest.html

Introduction JSON
Source - http://www.json.org/

 

REST-JSON has several advantages over SOAP-XML

Size 

REST-JSON is a lot smaller and less bloated than SOAP-XML therefore you will be passing much less data over the network, which is particularly important for mobile devices.

Efficiency

REST-JSON is also easier to parse the data so therefore easier to extract and convert the data, so therefore requires much less from the CPU from the client.

Caching

REST-JSON provides improved response times and server loading due to support from caching

Implementation

REST-JSON interfaces are much easier to design and implement.

 

For these reasons REST-JSON is generally preferred to SOAP-XML for mobile application which require a web service to retrieve data from a web service, where there is no need to the heavy-weight XML structure.

SOAP-XML is generally preferred when:

  • passing around a lot of text since XML excels and wrapping and marking up text.
  • you require secure, transactional services such as banking services.

Due to the strict nature of SOAP-XML any changes in the server code needs to be implemented on any and all clients.

Share this:

  • LinkedIn
  • Facebook
  • Twitter
  • Google +1
  • Print
  • Email
Logging In...

You must be logged in to post a comment.

Profile cancel

You must be logged in to post a comment.

Twitter

    bamboorocketapps
    London, UK
  • Provide the best mobile user experience possible.
    http://t.co/Honk6Dru9s
    2013/05/20 12:06
  • Yahoo to buy Tumblr for $1.1bn a good buy ?
    http://t.co/3OJ3G5XBqi
    2013/05/20 12:55

 

© 2012 - 2013 Bamboo Rocket Apps (UK Registered Company 05228567)
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.