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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsbpel message

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


Subject: [wsbpel] Issue - 297 - Proposal to Vote


This is the final text that Alex and I agreed on. I think it makes the rules for resolving the property alias clear. It also addresses the issue of having different queries for an element based alias and a messageType alias for the same property.
 Change  Section 9.2  
--- from ---  
 
 Observe that in order to retrieve correlation values from a message, a processor needs to apply a particular <propertyAlias> to the message. In the case in which the application of the <propertyAlias> results in a response that contains anything other than exactly one information item and/or a collection of Character Information Items then a bpel:selectionFailure fault MUST be thrown.  
 
 ---  to  ---  
 
Observe that in order to retrieve correlation values from a message, a processor MUST find a matching <propertyAlias> and apply it to the message. A <propertyAlias> is considered matching with a message if:
  1. the messageType attribute value used in <propertyAlias> definition matches the QName of the WSDL message type associated with the message; 
  2. the message is associated with a WSDL message type where the message contains a single part defined by an element and the element attribute value used in  <propertyAlias> definition matches the QName of the element used to define the WSDL part
     
 This matching <propertyAlias> constraint MUST be statically enforced. If both a messageType and element based propertyAlias match the message, then the messageType based <propertyAlias> MUST take priority

In the case in which the application of the <propertyAlias> results in a response that contains anything other than exactly one information item and/or a collection of Character Information Items then a bpel:selectionFailure fault MUST be thrown.  

 --- end ---

 
 Change Section 7.3
 
--- from ---
 
A WS-BPEL process definition MUST NOT be accepted for processing if it defines two or more property aliases for the same property name and WS-BPEL variable type. For example, it is not legal to define two property aliases for the property tns:taxpayerNumber and the messageType txmsg:taxpayerInfoMsg. The same logic would prohibit having two property aliases on the same element QName and property name value or two property aliases on the same type QName and property name value.
 
--- to ---
 
A WS-BPEL process definition MUST NOT be accepted for processing if it defines two or more property aliases for the same property name and WS-BPEL variable type. For example, it is not legal to define two property aliases for the property tns:taxpayerNumber and the messageType txmsg:taxpayerInfoMsg. The same logic would prohibit having two property aliases on the same element QName and property name value or two property aliases on the same type QName and property name value. If a property alias is defined for a single element part messageType and another element-based property alias is defined for the same property QName and same element QName as the message part, then the queries for these two property aliases SHOULD produce the same result.
 


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