Ana səhifə

Web Services Business Process Execution Language Version 0 Public Review Draft 02, 20 November, 2006


Yüklə 2.65 Mb.
səhifə19/23
tarix27.06.2016
ölçüsü2.65 Mb.
1   ...   15   16   17   18   19   20   21   22   23

Appendix C. Attributes and Defaults


The following list summarizes all standard attributes for which a default value is defined.

Table C.1. Attributes and Defaults

Attribute

Default

createInstance

on elements




no

exitOnStandardFault

on element




no

exitOnStandardFault

on element





When this attribute is not specified on a , it inherits its value from its immediately enclosing (where the top-level scope is the
itself).

expressionLanguage

on element




urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0

expressionLanguage

on elements

























When this attribute is not specified for one of these elements, the attribute inherits its value from
.

initializePartnerRole

on element




no

initiate

on element





no

isolated

on element





no

keepSrcElementName

on element





no

location

on element





An element without a location attribute indicates that external definitions are used by the process but makes no statement about where those definitions may be found.

messageExchange

on elements











If not specified on an inbound message activity or then the activity's messageExchange is automatically associated with a default messageExchange with no name.

namespace

on element





An element without a namespace attribute indicates that external definitions are in use which are not namespace qualified.

queryLanguage

on element




urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0

queryLanguage

on element





When this attribute is not specified for a that is part of a from-spec or to-spec then the attribute inherits its value from
. If the is part of a and the attribute is not specified its default value is:
urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0

reference-scheme

on element





If not specified, the namespace URI of the content element within the wrapper MUST be used to determine the reference scheme of service endpoint.

successfulBranchesOnly

on element





no

suppressJoinFailure

on element




no

suppressJoinFailure

on each activity

(standard-attribute)


When this attribute is not specified for an activity, it inherits its value from its directly enclosing activity (or from the
itself, if it is the primary activity of the process).

validate

on element





no

Appendix D. Examples of Replacement Logic


The following provides detailed examples illustrative of copy operations as described in section 8.4.2. Replacement Logic of Copy Operations.

(a) EII-to-EII copy

XML Schema Context













type="tns:USAddressType" />











"tns:USAddressType" is a type extended from "tns:AddressType".



  • Example 1:





$poHeaderVar1/tns:shippingAddr

$poHeaderVar2/tns:billingAddr



This replaces the attributes and elements of the billing address in "poHeaderVar2" with those of shipping address in "poHeaderVar1".

Value of poHeaderVar1

...




123 Main Street

SomeWhere City

UK

...


Value of poHeaderVar2: (prior to )



...


...


Value of poHeaderVar2: (subsequent to )



...




123 Main Street

SomeWhere City

UK

...




  • Example 2:





$poHeaderVar3/tns:USshippingAddr

$poHeaderVar2/tns:shippingAddr



This replaces the attributes and elements of the shipping address in "poHeaderVar2" with those of the US shipping address in "poHeaderVar3".

Value of poHeaderVar3:

...




123 Main Street

SomeWhere City

USA

98765

...


Value of poHeaderVar2: (prior to )



...


...


Value of poHeaderVar2: (subsequent to )



...




123 Main Street

SomeWhere City

USA

98765

...




(b) EII-to-AII copy

XML Data Context

Value of creditApprovalVar:



4500



  • Example 1:





$creditApprovalVar/tns:approvedLimit

$approvalNotice2Var/@amt



This replaces the content of the amount attribute in "approvalNotice2Var" with that of the approved limit in "creditApprovalVar".

Value of approvalNotice2Var: (prior to )

Value of approvalNotice2Var: (subsequent to )





( c ) EII-to-TII copy

XML Data Context

Value of creditApprovalVar:



4500



  • Example 1:





$creditApprovalVar/tns:approvedLimit

$approvalNotice3Var/text()



This replaces the content of "approvalNotice3Var" with that of the approved limit in "creditApprovalVar".

Value of approvalNotice3Var: (prior to )

0

Value of approvalNotice3Var: (subsequent to )



4500

  • Example 2:





$creditApprovalVar/tns:approvedLimit

$approvalNotice4Var/text()



Value of approvalNotice4Var: (prior to )



As no text node exists under"tns4:approvalNotice", a selectionFailure fault will be thrown, and no replacement logic executed.



  • Example 3: EII-to-EII (for comparison to EII-to-TII)





$creditApprovalVar/tns:approvedLimit

$approvalNotice4Var



This replaces the attributes and elements of "approvalNotice4Var" with those of the approved limit in "creditApprovalVar".

Value of approvalNotice4Var: (prior to EII-to-EII )

Value of approvalNotice4Var: (subsequent to EII-to-EII )



4500

(d) AII-to-AII copy

XML Data Context

Value of orderDetailVar:



  • Example 1:





$orderDetailVar/@amt

$billingDetailVar/@amt



This replaces the content of the amount attribute in "billingDetailVar" with that of the amount if "orderDetailVar".

Value of billingDetailVar: (prior to )

Value of billingDetailVar: (subsequent to )





(e) AII-to-EII copy

XML Data Context

Value of orderDetailVar:



  • Example 1:





$orderDetailVar/@amt

$billingDetailVar/tns1:billingAmount



This replaces the content of the billing amount in "billingDetailVar" with that of the amount attribute in "orderDetailVar".

Value of billingDetailVar: (prior to )





Value of billingDetailVar: (subsequent to )





3399



(f) AII-to-TII copy

XML Data context.

Value of orderDetailVar:



  • Example 1:





$orderDetailVar/@amt

$billingAmount2Var/text()



This replaces the content of "billingAmount2Var" with that of the amount attribute in "orderDetailVar".

Value of billingAmount2Var: (prior to )

0

Value of billingAmount2Var: (subsequent to )



4499

(g) TII-to-TII copy

XML Data context

Value of postalCodeVar:

95110


  • Example 1:





$postalCodeVar/text()

$shippingPostalCodeVar/text()



This replaces the content of "shippingPostalCodeVar" with that of "postalCodeVar".

Value of shippingPostalCodeVar: (prior to )

0

Value of shippingPostalCodeVar: (subsequent to )



95110

(h) TII-to-AII copy

XML Data Context

Value of postalCodeVar:

94304


  • Example 1:





$postalCodeVar/text()

$shippingAddress1Var/@postCode



This replaces the content of the post code attribute of "shippingAddress1Var" with the content of "postalCodeVar".

Value of shippingAddress1Var: (prior to )

Value of approvalNotice1Var: (subsequent to )





(i) TII-to-EII copy

XML Data Context

Value of postalCodeVar:

94107


  • Example 1:





$postalCodeVar/text()

$shippingAddress2Var/tns2:postalCode



This replaces the content of the postal code element in "shippingAddress2Var" with that of "postalCodeVar".

Value of shippingAddress2Var: (prior to )





Value of shippingAddress2Var: (subsequent to )





94107


1   ...   15   16   17   18   19   20   21   22   23


Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©atelim.com 2016
rəhbərliyinə müraciət