This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am really confusing with web services SOAP and RESTFul.. Which one is better to use..
Following are the points I have inferred from the articles I read on webservices..
1. SOAP uses WSDL but RESTFul doesn't
2. SOAP communicates using XML language.. But RESTFul can communicate with XML,JSON,pure http,other user defined ones..
3. SOAP uses SOAP envelop for sending request and recieving response
4. SOAP supports HTTP,FTP and other protocols.. But RESTFul supports only HTTP
5. RESTFul is faster than SOAP
6. In real view RESTFul is just a webapplication developed with some specialized annotations.. But SOAP is not a web-app
7. With SOAP we can explain about our webservices to the client very well (through WSDL).. But client need to have good view on RESTful webservices before using it..
Please correct me if I wrong (mention point number)..
Thanks in advance..
Peter Kovac
Ranch Hand
Joined: Aug 08, 2010
Posts: 41
posted
0
Rakesh Basani wrote:Hi guys..
I am really confusing with web services SOAP and RESTFul.. Which one is better to use..
It depends on what you want to achieve.
SOAP is usually considered "heavyweight" supporting many advanced features (transactions, security, etc.) but it might be an overkill for some/most applications.
Is this a homework question? or are you trying to decide which to use in a real project?
SOAP is totally misnamed. It originally meant Simple Object Access Protocol
Its anything but simple. And its all about web-services, which is really remote object invocation. 99% of all sane engineers avoid remote object invocation.
Rakesh Basani
Ranch Hand
Joined: Jun 04, 2012
Posts: 38
posted
0
Thnaks for your replies guys..
@Peter : Is this a homework question? or are you trying to decide which to use in a real project? in a real project?
No.. I am using it in real project.. I am developing my webservices in java.. .NET people will use those services..
Can anyone explain me how other lanquages people will use my webservices (example .NET)..