5.1 Use of Anonymous Address in SOAP
The "http://www.w3.org/@@@@/@@/addressing/anonymous" URI MAY be specified as the [address] of an EPR. The exact meaning of this depends on the underlying SOAP protocol binding, the Message Exchange Pattern (MEP) in use and on whether the URI occurs in a response endpoint, as the [destination] property, or in some other context.
5.1.1 SOAP 1.1/HTTP
When "http://www.w3.org/@@@@/@@/addressing/anonymous" is used in the context of the SOAP 1.1/HTTP binding, it MUST [or MAY] refer to the use of the HTTP response message. When in particular it is specified for the response endpoint then there is no change to the SOAP 1.1/ HTTP binding.5.1.2 SOAP 1.2
When "http://www.w3.org/@@@@/@@/addressing/anonymous" is used in the context ofspecified for the response endpoint and the request is the request part ofa SOAP request-response MEP [SOAP 1.2 Part 2: Adjuncts], then it MUST [or MAY] refer to the use of the response message of the exchange. When in particular it is used in a response endpoint in a request message, any response MUST be the response part of the same SOAP request-response message exchange [SOAP 1.2 Part 2: Adjuncts].
Since we're here, here's how the resolution of CR 18 would work, as
a delta to the above.
5.1 Use of Anonymous Address in SOAP
The "http://www.w3.org/@@@@/@@/addressing/anonymous" URI MAY be specified as the [address] of an EPR. The exact meaning of this depends on the underlying SOAP protocol binding, the Message Exchange Pattern (MEP) in use and on whether the URI occurs in a response endpoint, as the [destination] property, or in some other context. Except as defined in this section, this binding assigns no particular semantics to the use of "http://www.w3.org/@@@@/@@/addressing/anonymous".
When an anonymous response endpoint is used for a response, the rules in section 3.4 of the WS-Addressing Core dictate that the [destination] property of the response MUST also be "http://www.w3.org/@@@@/@@/addressing/anonymous". In this case, the anonymous address refers to the use of the underlying response message.
5.1.1 SOAP 1.1/HTTP
When "http://www.w3.org/@@@@/@@/addressing/anonymous" is used in the context of the SOAP 1.1/HTTP binding, it MUST [or MAY] refer to the use of the HTTP response message. When in particular it is specified for the response endpoint then there is no change to the SOAP 1.1/ HTTP binding.5.1.2 SOAP 1.2
When "http://www.w3.org/@@@@/@@/addressing/anonymous" is used in the context ofa SOAP request-response MEP [SOAP 1.2 Part 2: Adjuncts], then it MUST [or MAY] refer to the use of the response message of the exchange. When in particular it is used in a response endpoint in a request message, any response MUST be the response part of the same SOAP request-response message exchange [SOAP 1.2 Part 2: Adjuncts].
Further to my action on Monday to propose resolution text for CR23, here is a suggestion. I've tried to maintain the previously agreed text from CR4 and CR15 where possible.
The intention is that the first paragraph enables the use of anonymous EPR in semantics including (but not exclusive to) replyTo and faultTo (such as WS-RX acksTo). This satisfies CR4.
The second paragraph gives the semantics specific to replyTo/faultTo - this is very similar to the resolution of CR15 but specific to the replyTo/faultTo scenario so that it does not undo the resolution to CR4 in the first paragraph.
This text is applicable to section 5.1 of the SOAP binding document.
-------------------------
The "http://www.w3.org/@@@@/@@/addressing/anonymous" URI MAY be specified as
the [address] of an EPR to designate that the target endpoint is
reached by a channel of the underlying SOAP protocol binding.
The specification of the channel to which the
"http://www.w3.org/@@@@/@@/addressing/anonymous" URI refers depends on the
Message Exchange Pattern (MEP) and on the
defined semantics of the EPR in question. Any underlying protocol binding supporting the SOAP
request-response MEP provides such a channel for
response messages.
In the context of a SOAP request-response MEP, sending a response message to a
ReplyTo or FaultTo
EPR whose [address] is "http://www.w3.org/@@@@/@@/addressing/anonymous"
means sending it as the response message of the MEP.
For instance, the SOAP 1.2 HTTP binding[SOAP 1.2 Part 2: Adjuncts]
puts the reply message in the HTTP response.
--------------------------
We may be able to omit the sentence: " Any underlying protocol binding supporting the SOAP
request-response MEP provides such a channel for
response messages. "
This second paragraph requires restructure to fit with the SOAP 1.1/HTTP and SOAP 1.2 split in the editors'
draft. I suggest that we defer this until we have reached agreement on the general structure of the text above.
thanks
Katy