Which type of webservice SOAP or REST for your business

Couple of things need to consider while choosing the type of web-service,Listing those below,
  • Type of applications going to use the webservice
  • Network protocols firewall etc..
  • Development time
  • Security
  • Coding effort 
  • light weight client such as Mobiles etc..
Application/light weight Client: First of all,check which application is going to interact with the web-service.If it is  a light weight client such as smart phone or website ,you can use the rest web-service instead of SOAP web-service

Network protocols,firewall:SOAP is use protocols such as HTTP and SMTP along with XML structure for communication,which will be very easy to tunnel through traditional firewalls.

Even though it has demerit like intruders can easily sniff the data.To avoid this recommending to use firewalls which can the soap XML data packets.

Development: if you are going to create the web-service for a short term project,consider the things such as amount of data,effort required for coding and configure back end systems for an effective implementation.

Comparing to  REST, SOAP require less coding effort But it require minimal effort in implementation

Security: For SOAP web-service, SSL certification can be used to generate digital certificates for both client and server which will be used for validation.
All the communication between the client and server will be encrypted.

Suppose if client is communicating multiple servers at the same time,
ws-security can be used additionally to  secure the communication in which secure key or encryption keys mentioned in the soap header for decryption.

Coding: SOAP require less coding effort (e.g., transactions, security, coordination, addressing and trust)cin development than REST.

Keep the above the things in mind, while choosing web-service for your Business.


 

No comments:

Post a Comment