Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by cr22rc: http://wiki.apache.org/ws/Tuscany/TuscanyJava/SCA_Java/ConversationWSBinding ------------------------------------------------------------------------------ == Overview == - The following proposes using a standard EPR in the SOAP header upon the first invocation of an operation on an interface with a conversation scope to contain the conversation id. + The following proposes using a wsa:From EPR in the SOAP header upon the first invocation of an operation on an interface with a conversation scope to contain the conversation id. == Example SCA Conversation EPR == @@ -19, +19 @@ <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <S:Header> - <scaNS:ConversationReference xmlns:scaNS="http://www.osoa.org/xmlns/sca/1.0"> + <wsa:From xmlns:scaNS="http://www.osoa.org/xmlns/sca/1.0"> <wsa:Address>http://someuri</wsa:Address> <wsa:ReferenceParameters> <scaNS:conversationID>xs:any*</scaNS:conversationID> </wsa:ReferenceParameters> - </scaNS:ConversationReference> + </wsa:From> </S:Header> <S:Body> .... @@ -32, +32 @@ </S:Envelope> }}} - /scaNS:ConversationReference + /wsa:From - This element contained in the SOAP HEADER is recognised as the beggining of a new SCA conversation. + This element contained in the SOAP HEADER is recognized as the beginning of a new SCA conversation when it contains + a scaNS:conversationID discussed below. It is of type http://www.w3.org/2005/08/addressing EndpointReferenceType - /scaNS:ConversationReference/wsa:Address + /wsa:From/wsa:Address This element contained in the scaNS:ConversationReference element specifies the [address] property of the endpoint reference. - /scaNS:ConversationReference/wsa:ReferenceParameters + /wsa:From/wsa:ReferenceParameters This element contained in the scaNS:ConversationReference element is identical to it use in WS-A except its use is REQUIRED. - /scaNS:ConversationReference/wsa:ReferenceParameters/scaNS:conversationID This REQUIRED element contained in a wsa:ReferenceParameters element contains the XML representation of the conversationID. + /wsa:From/wsa:ReferenceParameters/scaNS:conversationID This REQUIRED element contained in a wsa:ReferenceParameters element contains the XML representation of the conversationID. - All other elements MUST conform as specifed in WS-Addressing's wsa:EndpointReference. + All other elements MUST conform as specified in WS-Addressing's wsa:EndpointReference. Optionally, the response MAY contain in a SOAP HEADER element an EPR which is to be used for subsequent operations in the conversation. If not present the Request EPR will be used. @@ -63, +64 @@ <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://www.w3.org/2005/08/addressing"> <S:Header> - <scaNS:ConversationReference xmlns:scaNS="http://www.osoa.org/xmlns/sca/1.0"> + <wsa:From xmlns:scaNS="http://www.osoa.org/xmlns/sca/1.0"> <wsa:Address>http://calculator/sum</wsa:Address> <wsa:ReferenceParameters> <scaNS:conversationID>03c77215-4717-11d8-ac80-0090272ff725</scaNS:conversationID> </wsa:ReferenceParameters> - </scaNS:ConversationReference> + </wsa:From> </S:Header> <S:Body> <calc:add xmlns:calc="http://calculator/sum">1</calc:add> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
