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.
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).