How to Construct the ABCS Composite Using JDeveloper Developing the BPEL Process

12-10 Developers Guide for Oracle Application Integration Architecture Foundation Pack Example 12–10 Example of composite.xml Pointing to Abstract WSDLs in the MDS service ui:wsdlLocation=oramds:appsAIAMetaDataAIAComponentsAIAServiceLibrarySample SEBLRequesterABCSSamplesCreateCustomerSiebelReqABCSImpl.wsdl name=SamplesCreateCustomerSiebelReqABCSImpl For those referenced services in which the WSDLs do not have partnerLinkType elements in them, their corresponding reference WSDLs should also be changed to refer the abstract WSDLs from the MDS. For instance, the composite of a requester ABCS has a mediator as a referenced service. Hence, change the location attribute of the element import in the EBS Reference WSDL file as shown in Example 12–11 . Example 12–11 Referenced Service WSDLs with no partnerLinkType Elements Pointing to Abstract WSDLs in the MDS wsdl:import namespace=http:xmlns.oracle.comEnterpriseServicesCoreCustomerPartyV2 location =oramds:appsAIAMetaDataAIAComponentsEnterpriseBusinessServiceLibr aryCoreEBOCustomerPartyV2CustomerPartyEBS.wsdl

12.3 Constructing an ABCS Composite Using JDeveloper

An ABCS can be constructed using either AIA Service Constructor or JDeveloper. While the previous section dealt with constructing an ABCS using Service Constructor, this section provides a high-level overview of constructing the ABCS composite in design mode, using JDeveloper. The high-level tasks to be performed are: ■ Configure JDeveloper to access MDS. See Section 20.1.3.4, Using MDS in AIA. ■ Develop abstract WSDL for the ABCS. See Chapter 11, Designing Application Business Connector Services . ■ Construct the ABCS composite using JDeveloper. See Section 12.3.1, How to Construct the ABCS Composite Using JDeveloper . ■ Develop the BPEL process. See Section 12.3.2, Developing the BPEL Process .

12.3.1 How to Construct the ABCS Composite Using JDeveloper

To create an ABCS using JDeveloper: 1. In JDeveloper, create a new SOA composite project. 2. Open the composite.xml in design mode. 3. Add a BPEL component in the Components swim lane. 4. Add a web service as external reference service in the References swim lane. Constructing the ABCS 12-11 This reference service could represent an EBS, an Adapter Service, or a participating application. An abstract WSDL of the EBS, Adapter Service, or participating application should be accessible from the MDS Repository. Note: In the composite.xml, populate the element binding.ws as shown in step 5 of Section 12.2.2, How to Complete ABCS Development for the AIA Service Constructor . 5. Wire the BPEL component to the external reference component created in step 4. 6. Complete the following for handling the faults. ■ Add a web service as external reference service in the References swim lane. Provide the reference to the abstract WSDL of the AIAAsyncErrorHandlingBPELProcess in the MDS repository. Wire the BPEL component to the AIAAsyncErrorHandlingBPELProcess service. For more information about fault handling in AIA services, see Chapter 24, Configuring Oracle AIA Processes for Error Handling and Trace Logging. Figure 12–3 illustrates a requester ABCS composite. Figure 12–3 Example of a Requester ABCS Composite

12.3.2 Developing the BPEL Process

After you have developed the composite in design mode using JDeveloper, the ABCS that is implemented as a BPEL process component should be constructed to its completion. In the ABCS, the following tasks are accomplished: ■ Message enrichment ■ Message header population ■ Message content transformation ■ Error handling and logging 12-12 Developers Guide for Oracle Application Integration Architecture Foundation Pack ■ Extensibility ■ CAVS enablement ■ Security context implementation For more information about completing ABCS development, see Chapter 13, Completing ABCS Development .

12.3.3 How to Create References, Services, and Components