• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebServices - Sending Response

 
Sahul Yasin
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

A dead basic question. How do we get the client end point details to send the SOAP response after processing client's request?. i.e, In servlet if we want to send the response, we are writing the content into the "servlet response". How it can be accomplished in Webservice?. Pls explain the lower level details in identifying the Client from the incoming SOAP request. Thanks lot.
 
Somnath Jamdar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For synchronous web service call, client waits for a SOAPResponse after sending a SOAPRequest. Server will simply respond to the incomming requests by sending a SOAPResponse (exactly like a servlet does).
WSDL contains the definition of SOAPResponse.

Like servlet a web service has to service for all web service requests. It is not required to get client's details (end-point port and address).

HTH
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!