Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

webservices example required

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
may i know if you have any idea about practical examples of web service.

it is said that REST is replacing SOAP technology. may i know if this is correct and how an architecture(REST) can replace a technology or protocal(SOAP)?

many thanks in advance,
rahul
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Regarding whether REST is going to replace SOAP:
I think it depends on who you ask. There seem to be a lot of people that prefer to see things in black and white, i.e. either REST or SOAP.
Personally, I have a more gray view on things. :-)
I think that SOAP was originally hyped as being able to solve all sorts of problems. Now that some time has passed, people have understood that this is not the case.
...and long comes the next hype, REST.
I think that there are some areas to which RESTful solutions are better suited and there are other areas in which using more traditional, SOAP based, web services is a better choice. REST has definitely taken a "market share" from SOAP, but I think this is only healthy, since I suspect that share is better served by applying RESTful solutions.

Regarding practical examples of web services: Do you mean situations in which web service solutions can be applied?
If this is the case, then have a look at Amazon and the web services they make available.
Other possible examples are: Credit card services, hotel booking services etc etc.
Best wishes!
 
Dan Drillich
Ranch Hand
Posts: 1183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rauhl Roy wrote:

it is said that REST is replacing SOAP technology. ...



An interesting view of the matter can be found at Roots of the REST/SOAP Debate.

For example, it says -

Today, SOAP is many things, from a syntax to a framework, from an RPC protocol to an abstract, one-way messaging environment. It is difficult to make unequivocal statements about what SOAP is or what it allows. Given this, we cannot even say with confidence whether SOAP and REST are in competition.


Regards,
Dan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic