Re: SOAP Request-Response mapping

I presume that if you're using this mailing list you're asking about SOAP 
1.2?    The SOAP 1.2 Request/Response Message Exchange Pattern  makes it 
the responsibility of the protocol binding to correlate requests and 
responses.  [1]   The supplied HTTP binding uses the mechanisms of HTTP in 
the obvious manner to do this correlation.  In practice, essentially any 
reasonable implementation of HTTP will allow you to determine which 
responses match which requests, if multiple are outstanding at a time.  Of 
course, it's up to your local software environment to give your 
application the appropriate control over that facility.

SOAP 1.2 allows, in principle, for the invention of other MEPs, including 
other flavors of request and response that might use different means of 
correlation.  BTW: while SOAP 1.1 is not as carefully layered, the answer 
is effectively the same there.  The HTTP (or other protocol binding) does 
the correlation.  I hope this is helpful.

[1] http://www.w3.org/TR/2003/PR-soap12-part2-20030507/#singlereqrespmep
[2] http://www.w3.org/TR/2003/PR-soap12-part2-20030507/#soapinhttp

------------------------------------------------------------------
Noah Mendelsohn                              Voice: 1-617-693-4036
IBM Corporation                                Fax: 1-617-693-8676
One Rogers Street
Cambridge, MA 02142
------------------------------------------------------------------







"Shah, Maulik" <maulik.shah@patni.com>
Sent by: xml-dist-app-request@w3.org
06/11/2003 12:46 AM
Please respond to maulik.shah

 
        To:     <xml-dist-app@w3.org>
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        SOAP Request-Response mapping






Hi,

I have a query regarding the SOAP responses.. I have a SOAP response data
and want to determine, for which request is this response sent back. One
way, is from the name of the request message (e.g. the response message 
for
a request message "GetData" will be "GetData_Response". But in a scenario,
where a single method may be called by multiple clients, I cannot just use
the name of the request message.

Any help on the above, would be helpful.

Thanks & Regards

Maulik V. Shah
Software Engineer
Patni Computer Systems Limited , India.

Received on Monday, 16 June 2003 19:51:11 UTC