File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic doubt with understanding web service

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"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 .
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 2187
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

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