"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
posted
0
"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
posted
0
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.