Meaningless Drivel is fun!
The moose likes Web Services and the fly likes SOAP vs HTTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP vs HTTP" Watch "SOAP vs HTTP" New topic


Karan Kaw

Joined: Jan 05, 2013
Posts: 14
Difference between SOAP and HTTP ?
Does HTTP actually carries SOAP (XML Formatted) in its body?
How Does SOAP handles attachment?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
HTTP is a transport protocol.

SOAP is a data format. It often -but not always- is transported via HTTP (and yes, it would in the HTTP body).

Yes, SOAP can include attachments.
Karan Kaw

Joined: Jan 05, 2013
Posts: 14
So, Actually SOAP : Simple Object Access Protocol is a Misnomer, Its actually Data Exchange Format specification
HTTP is used because its not blocked traffic.
When Webservice is getting invoked, Its Like HTTP(HTML) traffic is going, Though Under the covers SOAP Payload is delivered which being XML is understood Well by .NET or Java Client.
I agree. Here's the link:
subject: SOAP vs HTTP
It's not a secret anymore!