aspose file tools*
The moose likes Web Services and the fly likes Basic doubt with understanding web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Basic doubt with understanding web service" Watch "Basic doubt with understanding web service" New topic
Author

Basic doubt with understanding web service

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528

"As I mentioned we'll think of web services as a client and a server program exchanging SOAP formatted messages over the Internet (or an intranet)"


This is the statement i got confused , can't i send an XML document to the servlet which parses and does something with it and returns the XML document in response .

Whats the thing i will be missing when does the above than using SOAP protocol ?

Anybody please let me understand .


If you want something you never had do something which you had never done
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
"Writing a program that takes some data, formats it as a SOAP message using basic API's and finally sends it to a server is not very interesting to most programmers. And the reverse operation: receiving the SOAP message and extracting the data in it is just as boring. It's a pure technical thing and has nothing to do with business programming. The good thing is that Axis does all the technical stuff for us"

Is this the reason why we use a Web Service"?

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
A web service is used by an application to communicate with another application.

In other words, if an application needs to use another application, it can do so by using a web service.

A web service is a communication protocol for distributed computing.

Web services are all about integration. They are not concerned with implementation.


Application A (implementation) ----- > web service -------> Application B (implementation)


The web service allows A and B to talk to each other.

 
Consider Paul's rocket mass heater.
 
subject: Basic doubt with understanding web service