This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes transport protocol used in SOAP web services 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 "transport protocol used in SOAP web services" Watch "transport protocol used in SOAP web services" New topic
Author

transport protocol used in SOAP web services

Rodrigo Bossini
Ranch Hand

Joined: Jul 03, 2009
Posts: 113
Hi,

I'm starting in the web service world, and everything is new to me.

I hear a lot about "web services" protocol.

As per my understading, a web service uses the SOAP protocol to send XML data over HTTP protocol.


I heard also that there are Rest web services, which do not use SOAP.

So I ask:

What is the standard transport protocol that is used by a web service?
TCP, UDP or what?

Also, does Rest web services use HTTP too?

And, does a web service work exactly the same way a HTTP "post" method works? What transport protocol does an HTTP post method use?


I see wind mills
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41141
    
  45
SOAP is not a protocol, but a data format. It does not specify the protocol to be used for transporting it. The vast majority of web services -SOAP, REST, or otherwise- use HTTP as the transport protocol. But for SOAP in particular, other protocols have been used, like raw TCP, email and messaging. REST is very much tied to HTTP, though.


Ping & DNS - my free Android networking tools app
Rodrigo Bossini
Ranch Hand

Joined: Jul 03, 2009
Posts: 113
Ulf Dittmer wrote:SOAP is not a protocol, but a data format. It does not specify the protocol to be used for transporting it. The vast majority of web services -SOAP, REST, or otherwise- use HTTP as the transport protocol. But for SOAP in particular, other protocols have been used, like raw TCP, email and messaging. REST is very much tied to HTTP, though.


When using HTTP, I assume it also uses TCP, "under" HTTP, in the transport layer. Or am I wrong?
Also, SOAP stands for "Simple Object Access Protocol", so it must be a protocol.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41141
    
  45
When using HTTP, I assume it also uses TCP, "under" HTTP, in the transport layer.

That's correct, HTTP relies on TCP and IP.

SOAP stands for "Simple Object Access Protocol", so it must be a protocol.

And still, it's not. And these days, SOAP is no longer an acronym, as its Wikipedia entry mentions in the first paragraph.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transport protocol used in SOAP web services
 
Similar Threads
How does the browser and web service communicate using SOAP?
SOAP header blocks: Are they specific to the binding?
Web Services-SOAP over HTTP
Why SOAP? Why not HTTP?
Web services and Components?