SOAP or REST

8 02 2008

For the uninitiated, SOAP & REST are web service development standards ( REST is more of a style than a standard)

I have been working on REST based web services for past 2 months now. Here’s an article that talks about suitability of a particular web standard depending on application.

http://www.ibm.com/developerworks/webservices/library/ws-restvsoap/

I personally find REST pretty cool over SOAP. Its simple, no need of libraries, and is stateless. Authentication and authorization is URL based. Its more like HTTP.

Anyways, both have their pros & cons and both are suitable for different requirements. SOAP works great for a complex web service like bank transaction. Whereas REST is good for resource based push & pull services. In my case, the later was true. So, opting for REST was obvious choice for me.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: