OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-rx message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: AI (#0075) for detailed proposal for i078


All,

On the last concall there was no objection to the proposal [1] to 
resolve issue i078. Marc, Bob and I were given an AI (AI #0075) to come 
up with a detailed proposal to resolve i078. The detailed proposal is 
below. Most of it is cut-and-pasted from the wsrm:CloseSequenceResponse 
section with appropriate edits.

All changes are for CD2 located at:
http://www.oasis-open.org/apps/org/workgroup/ws-rx/download.php/16271/wsrm-1.1-spec-cd-02.pdf
Please note that this proposal affects the spec, XSD and WSDL.

1) Modify Figure 2 to include a dotted arrow going from Endpoint B to 
Endpoint A with the label "TerminateSequenceResponse(Identifier = 
http://fabrikam123.com/abc)"

2) Change lines 213/214 to:

-----
12. The RM Destination receives the TerminateSequence message indicating 
that the RM Source will not be sending any more messages. The RM 
Destination sends a TerminateSequenceResponse message to the RM Source 
and reclaims any resources associated with the Sequence.
-----

3) Change lines 425-428 to:

-----
This element is sent by an RM Source to indicate it has completed its 
use of the Sequence. It indicates that the RM Destination can safely 
reclaim any resources related to the identified Sequence. This element 
MUST NOT be sent as a header block. The RM Source MAY retransmit this 
element. Once this element is sent, other than this element, the RM 
Source MUST NOT send any additional message to the RM Destination 
referencing this sequence.
-----

4) After line 440 add:

-----
A <wsrm:TerminateSequenceResponse> is sent in the body of a response 
message by an RM Destination in response to receipt of a 
<wsrm:TerminateSequence> request message. It indicates that the RM
Destination has terminated the sequence.

The following exemplar defines the <wsrm:TerminateSequenceResponse> syntax:

<wsrm:TerminateSequenceResponse ...>
     <wsrm:Identifier ...> xs:anyURI </wsrm:Identifier>
     ...
</wsrm:TerminateSequenceResponse>

/wsrm:TerminateSequenceResponse
This element is sent in the body of a response message by an RM 
Destination in response to receipt of a <wsrm:TerminateSequence> request 
message. It indicates that the RM Destination has terminated the 
sequence. This element MUST NOT be sent as a header block.

/wsrm:TerminateSequenceResponse/wsrm:Identifier
This REQUIRED element MUST contain an absolute URI conformant with 
RFC3986 of the Sequence that is being terminated.

/wsrm:TerminateSequenceResponse/wsrm:Identifier/@{any}
This is an extensibility mechanism to allow additional attributes, based 
on schemas, to be added to the element.

/wsrm:TerminateSequenceResponse/{any}
This is an extensibility mechanism to allow different (extensible) types 
of information, based on a schema, to be passed.

/wsrm:TerminateSequenceResponse@{any}
This is an extensibility mechanism to allow additional attributes, based 
on schemas, to be added to the element."

On receipt of a <wsrm:TerminateSequence> message an RM Destination MUST 
respond with a corresponding <wsrm:TerminateSequenceResponse> message or 
generate a fault.
-----

5) After line 1009 insert:

-----
<xs:element name="TerminateSequenceResponse" 
type="wsrm:TerminateSequenceResponseType"/>
-----

6) After line 1062 insert:

-----
<xs:complexType name="TerminateSequenceResponseType">
     <xs:sequence>
         <xs:element ref="wsrm:Identifier"/>
         <xs:any namespace="##other" processContents="lax"
             minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
-----

7) After line 1315 add:

-----
Terminate Sequence Response:

<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope";
xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200510";
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
   <S:Header>
     <wsa:MessageID>
       http://Business456.com/guid/0baaf88d-483b-4ecf-a6d8-a7c2eb546813
     </wsa:MessageID>
     <wsa:To>http://example.com/serviceA/789</wsa:To>
     <wsa:RelatesTo>
       http://Business456.com/guid/0baaf88d-483b-4ecf-a6d8-a7c2eb546812
     </wsa:RelatesTo>
     <wsa:Action>
     http://docs.oasis-open.org/ws-rx/wsrm/200510/TerminateSequenceResponse
     </wsa:Action>
   </S:Header>
   <S:Body>
     <wsrm:TerminateSequenceResponse>
       <wsrm:Identifier>http://Business456.com/RM/ABC</wsrm:Identifier>
     </wsrm:TerminateSequence>
   </S:Body>
</S:Envelope>
-----

8) After line 1385 insert:

-----
<wsdl:message name="TerminateSequenceResponse">
   <wsdl:part name="terminateResponse" 
element="rm:TerminateSequenceResponse"/>
</wsdl:message>
-----

9) After line 1404 insert:

-----
<wsdl:operation name="TerminateSequenceResponse">
   <wsdl:input message="tns:TerminateSequenceResponse" 
wsa:Action="http://docs.oasis-open.org/ws-rx/wsrm/200510/TerminateSequenceResponse"/>
</wsdl:operation>
-----


-Anish
-- 




[1] 
http://www.oasis-open.org/apps/org/workgroup/ws-rx/email/archives/200601/msg00200.html


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]