Service Data Objects Stages

Using Approval Management 26-13 Figure 26–6 Create a New Key Dialog

3. Enter a name, the translatable text, and click OK.

Figure 26–7 shows the Edit Translatable Strings dialog after a new key has been added. Figure 26–7 New Key Added

4. Use the Expression Builder to add values.

Figure 26–8 shows the completed Edit Translatable Strings dialog. 26-14 Modeling and Implementation Guide for Oracle Business Process Management Figure 26–8 Translatable Text and Values

5. Click OK to close the dialog.

26.3.4 Specifying Task Parameters

Specifying task parameters includes the following tasks: ■ Creating SDO references ■ Defining entity parameters ■ Defining collections

26.3.4.1 How to Create Service Data Object SDO References

An SDO service can be invoked from workflow services to retrieve the SDO as XML. This invocation is in the form of a SOA web service call. When the SDO service WSDL URL is available, a web service reference should be added using the Create Web Service dialog. To create a reference, enter the WSDL URL and select the port type from the available port types, as shown in Figure 26–9 . Note: The title value, or a definition of the title value can be set in two places: in the TaskDefinition XML .task file, or in the bpel file. When set in the bpel file, this value takes precedence over the definition in the TaskDefinition. However, the value in the bpel file is not translatable. Using Approval Management 26-15 Figure 26–9 Web Service Reference For information about creating SDOs, see Introduction to References in the section Introduction to the SOA Composite Editor in Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

26.3.4.2 How to Define Entity Parameters

The following procedure enables you to accept a service data object SDO. 1. Create a Service reference in the composite. This allows Fabric to create all the necessary wiring to a specific URL that points to a WSDL. 2. Define the task payload as external and specify which workflow retrieves the SDO object. This creates task parameters representing the input and output to the SDO web service.

3. Choose Entity.

4. Define the collection, its XPATH expression, and its keys, as shown in Figure 26–10 .