Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP concept a bit confusing

 
Rajesh Khan
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i read soap is basically XML encapsulated in HTTP. But it states at http://www.ibm.com/developerworks/webservices/tutorials/ws-eclipse-javase1/section9.html
web services use XML to code and decode data and SOAP to transport it using open protocols.
SOAP allows applications to communicate with each other regardless of which operating system they're running on and what programming language they were written in.

So i am a bit confused?
Q.What is open protocols ?
1)What is SOAP ? is it a XML enveloper transfer over HTTP protocol ??
2)Do web services communicate only through Http ??
 
Tim Moores
Saloon Keeper
Posts: 3266
55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Open protocols are protocols that have open specifications that can be implemented by anyone; HTTP is one such protocol. (If what you quote is taken directly from that article, then that article is not correct; SOAP is not the only way to create web services.)

SOAP is an XML dialect used for implementing web services. It *can* be transported over HTTP, but there are other mechanisms as well, although they are much less commonly used than HTTP. For more information see SOAP.

Note that SOAP is just one way to implement web services, and no longer the most popular one - RESTful web services have become very popular in the last few years.

*Web* services generally use HTTP, that makes them *web* services. It's possible to write services using other transport protocols, though: raw TCP, SMTP, messaging, ...
 
Rajesh Khan
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the great answer. Correct me if i am wrong web services communicate though http. if they did through any other protocol they wouldnt b caled webservices rite ??
 
Tim Moores
Saloon Keeper
Posts: 3266
55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, that's how the term is commonly used.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!