wood burning stoves*
The moose likes Web Services and the fly likes WebService Vs. SOAP over HTTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WebService Vs. SOAP over HTTP" Watch "WebService Vs. SOAP over HTTP" New topic

WebService Vs. SOAP over HTTP

S Kumar

Joined: Nov 14, 2003
Posts: 9
I have a very fundamental question. Is a system called a WebService only if there is a corresponding WSDL developed and use UDDI? How about a system that accept SOAP messages over HTTP based on some common understanding between the interacting parties. Is that called Webservice as well?
Thanks for your time.
Pankaj Kr
Ranch Hand

Joined: Sep 09, 2003
Posts: 80
Here is a definition of Web Service taken fromW3C Web Services Glossary:
A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.

As per this definition, a WSDL based description of the interface is mandatory.

Pankaj Kumar
Home - WebLog - J2EE Security
S Kumar

Joined: Nov 14, 2003
Posts: 9
Thanks for the quote and response, Pankaj. I guess, what I am getting is that SOAP over HTTP could be used as a mechanism for a Service oriented architecture, but it is not a true Web Service.
Richard Monson-Haefel
Ranch Hand

Joined: Oct 31, 2003
Posts: 92
I think if you are using SOAP and HTTP, than its a Web service of sorts. In my book I define a Web service in the J2EE space as a service that adheres to the recommendations of the WS-I Basic Profile. That's a pretty specific definition that does include the use of WSDL, but its important to understand that this defintion is just one of many.

-- <br />Richard Monson-Haefel<br /><a href="http://www.Monson-Haefel.com" target="_blank" rel="nofollow">http://www.Monson-Haefel.com</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: WebService Vs. SOAP over HTTP
Similar Threads
Connection pooling of SOAPConnection objects
Asynchronous Web service call
Different RPC Engines
SOAP Security
How to get HttpHeaderData - in SOAP Request