| By Mark O'Neill | Article Rating: |
|
| February 1, 2013 07:30 AM EST | Reads: |
1,959 |
A lot has been written about the difference between REST APIs and SOAP Web Services. The technical differences are well known at this stage. SOAP is heavyweight, while REST is light and mobile-friendly. However, there is another key difference which is often overlooked:
- It is easy to create SOAP Web Services, but difficult to consume them.
- It is difficult to create a good REST APIs, but easy to consume them.
Taking SOAP first: development platforms such as .NET made it almost too easy to create a SOAP Web Service. I remember seeing MSDN demos showing how, in a few clicks, you can take a .NET object and expose it as a Web Service, complete with WSDL. But, in those quick clicks, what had you created? You had exposed the methods of your objects as SOAP operations. But why? Is this really what you wanted to do? And while it was easy to say "Clients can just consume the WSDL to call my new Web Service", this was easier said than done. And when clients did this, it often made little sense to directly run the methods of the class.
Fast forward to the world of REST. One of the great virtues of REST is that it is so much easier to consume a REST API, compared to consuming a SOAP Web Service. In addition, it does not require parsing XML, if you prefer to directly read in JSON. However, creating a good REST API takes thought and some decisions. You should think about how you'll appropriately use the HTTP verbs, how to express versioning, and what kind of error messages you'll return. Fortunately, an API Server helps a lot here, by providing a platform for delivering APIs, to take care of aspects like security, usage quota-management, and analytics. But it still is important to take time to design your API up front.
Read the original blog entry...
Published February 1, 2013 Reads 1,959
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Mark O'Neill
Mark O'Neill is Chief Technology Office of Vordel. Vordel connects applications to applications, businesses to other businesses, and SOA to Cloud Computing. A regular speaker at industry conferences and a contributor to SOA World Magazine and Cloud Computing Journal, Mark holds a degree in mathematics and psychology from Trinity College Dublin and graduate qualifications in neural network programming from Oxford University.
- Cloud People: A Who's Who of Cloud Computing
- Why Averages Are Inadequate, and Percentiles Are Great
- Cross-Platform Hybrid Mobile Application Development
- The Data Explosion. Are We Ready? (or Not)
- Enterprise Framework Service for WebSphere Datapower
- SYS-CON.tv Interview: One-Stop Shop for Cloud Computing
- Cloudera Gets Another $65 Million to Grow On
- Gazzang Predicts 2013: The Year Big Data Goes Big Time
- Big Data in 2020
- 2012 Cloud Data Trends – Year in Review
- Mobile Cloud and Big Data – Cloud Power to the Next Level
- Big Dollars from Big Data
- Cloud People: A Who's Who of Cloud Computing
- Why Averages Are Inadequate, and Percentiles Are Great
- Cross-Platform Hybrid Mobile Application Development
- Cisco's Cloud CTO Keynotes at Cloud Expo | The Ever-Changing Cloud
- Big Data Expo 2013 New York Call for Papers Now Open
- The Data Explosion. Are We Ready? (or Not)
- Intelligent Complex Event Processing with Artificial Neural Network
- Enterprise Framework Service for WebSphere Datapower
- Agile Cloud, Big Data and Mobility
- SYS-CON.tv Interview: One-Stop Shop for Cloud Computing
- Social Media and the Shifting Information Compliance Landscape
- AWS Offers Windows Server 2012
- The Top 250 Players in the Cloud Computing Ecosystem
- Web Services Using ColdFusion and Apache CXF
- Cloud People: A Who's Who of Cloud Computing
- Red Hat Named "Platinum Sponsor" of Virtualization Conference & Expo
- Eclipse "Pollinate" Project to Integrate with Apache Beehive
- Cloud Expo New York Call for Papers Now Open
- An Introduction to Ant
- Apache's Tomcat 5.5 is First Release Ever to Use Eclipse JDT Java Compiler
- Beehive Code Now Available in Apache
- Cloud Expo 2011 East To Attract 10,000 Delegates and 200 Exhibitors
- 4th International Cloud Computing Conference & Expo Starts Today
- "Beehive" Now Officially an Open Source Project: Apache Beehive



























