GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Web  >  SOAP
Go To First  |  Previous Question  |  
 SOAP  |  Question 6 of 6    Print  
Which Protocol is used by Web service and Web service consumer to communicate with each other ?

  
Total Answers and Comments: 4 Last Update: April 07, 2009     Asked by: Eman 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: scorpioviper
 
SOAP is a XML based 'message' that a web service client can send to an actual web service (& vice versa). The reason why this message is termed as a 'protocol' is because the XML semantics inside this message is based on a well know standard understood by both the actual web service & all its clients.

Having said this, note that this XML based 'message' does not have any capability on its own whatsoever to physically travel from the so-called web service client (which may be on your desktop PC) to the actual web service (which may be on the server). Because after all, this messages is nothing but a set of XML tags sitting conceptually in a virtual world.

And this is where an underlying 'network technology' is required to physically take this XML based 'message' from the web service client to the actual web service. This underlying network technology can be anything eg: HTTP, raw TCP sockets, SMTP, JMS etc. Note that this network technology is also referred to as a 'protocol'.

So dont get confused between the 'message' which is a 'Communication Protocol' between a web service & its clients, & the actual network technology used to physically move it across the network which is actually referred to as a 'Transport Protocol'.

Shortest possible & technically correct answer to the question
---------------------------------------------------------------------------------
A web service & its clients communicate with each other using SOAP protocol as the 'Communication Protocol' whereas the underlying 'Transport Protocol' can be anything depending on its implementation; right from HTTP, TCP, Raw Sockets, JMS, SMTP etc.

Above answer was rated as good by the following members:
goksn, bino75
March 21, 2008 05:14:13   #1  
yuhaian Member Since: March 2008   Contribution: 1    

RE: Which Protocol is used by Web service and Web service consumer to communicate with each other ?
Protocol is HTTP
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
March 31, 2008 17:03:19   #2  
VenBal Member Since: March 2008   Contribution: 1    

RE: Which Protocol is used by Web service and Web service consumer to communicate with each other ?
SOAP is the protocol that a web service uses for transporting objects independent of operating system.
 
Is this answer useful? Yes | No
February 09, 2009 05:19:39   #3  
amitverma Member Since: November 2007   Contribution: 18    

RE: Which Protocol is used by Web service and Web service consumer to communicate with each other ?
Generally the communication protocol is - HTTP and services themselves follow SOAP protocol as a defined standard so that they can understand each other. Requests and responses are communicated in XML format on HTTP.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
April 06, 2009 22:28:31   #4  
scorpioviper Member Since: April 2009   Contribution: 1    

RE: Which Protocol is used by Web service and Web service consumer to communicate with each other ?
SOAP is a XML based 'message' that a web service client can send to an actual web service (& vice versa). The reason why this message is termed as a 'protocol' is because the XML semantics inside this message is based on a well know standard understood by both the actual web service & all its clients.

Having said this note that this XML based 'message' does not have any capability on its own whatsoever to physically travel from the so-called web service client (which may be on your desktop PC) to the actual web service (which may be on the server). Because after all this messages is nothing but a set of XML tags sitting conceptually in a virtual world.

And this is where an underlying 'network technology' is required to physically take this XML based 'message' from the web service client to the actual web service. This underlying network technology can be anything eg: HTTP raw TCP sockets SMTP JMS etc. Note that this network technology is also referred to as a 'protocol'.

So dont get confused between the 'message' which is a 'Communication Protocol' between a web service & its clients & the actual network technology used to physically move it across the network which is actually referred to as a 'Transport Protocol'.

Shortest possible & technically correct answer to the question
---------------------------------------------------------------------------------
A web service & its clients communicate with each other using SOAP protocol as the 'Communication Protocol' whereas the underlying 'Transport Protocol' can be anything depending on its implementation; right from HTTP TCP Raw Sockets JMS SMTP etc.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape