File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP vs HTTP" Watch "SOAP vs HTTP" New topic
Author

SOAP vs HTTP

Karan Kaw
Greenhorn

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
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
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
Greenhorn

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.
 
 
subject: SOAP vs HTTP