• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

transport protocol used in SOAP web services

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Rodrigo Bossini
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic