How to Assign a Date or Time

6-22 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite tocustIdto copy assign The namespace prefixes in this example are not integral to the example. The WSDL file defines a customer to have a type in which custId is defined as an attribute, as shown in Example 6–39 : Example 6–39 custId Attribute Definition complexType name=CustomerProfileType sequence element name=name type=string ... sequence attribute name=custId type=string complexType

6.14 Manipulating XML Data with bpelx Extensions

You can perform various operations on XML data in assign activities. The bpelx extension types described in this section provide this functionality. In Oracle BPEL Designer, you can add bpelx extension types at the bottom of the Copy Rules tab of an Assign dialog. After creating a copy rule, you select it and then choose a bpelx extension type from the dropdown list in BPEL 1.1 or the context menu in BPEL 2.0. This changes the copy rule to the selected extension type. In BPEL 1.1, you select an extension type from the dropdown list, as shown in Figure 6–6 . Figure 6–6 Copy Rule Converted to bpelx Extension in BPEL 1.1 In BPEL 2.0, you select an extension type by right-clicking the copy rule, selecting Change rule type , and then selecting the extension type, as shown in Figure 6–7 . Manipulating XML Data in a BPEL Process 6-23 Figure 6–7 Copy Rule Converted to bpelx Extension in BPEL 2.0 For more information, see the online Help for this dialog and Section A.2.2, Assign Activity.

6.14.1 How to Use bpelx:append

The bpelx:append extension in an assign activity enables a BPEL process service component to append the contents of one variable, expression, or XML fragment to another variable’s contents. To use this extension, you select a copy rule at the bottom of the Copy Rules tab, then select Append from the dropdown list, as shown in Figure 6–6 .

6.14.1.1 bpelx:append in BPEL 1.1

Example 6–40 provides an example of bpelx:append in a BPEL project that supports BPEL version 1.1. Example 6–40 bpelx:append Extension in BPEL 1.1 bpel:assign bpelx:append bpelx:from ... bpelx:to ... bpelx:append bpel:assign The from-spec query within bpelx:append yields zero or more nodes. The node list is appended as child nodes to the target node specified by the to-spec query. Note: The bpelx:append extension is not supported with SDO variables and causes an error.