• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic