How to Annotate the Service Element in Composite Business Process Composite

9-18 Developers Guide for Oracle Application Integration Architecture Foundation Pack svcdoc:ServiceOperation svcdoc:Reference svcdoc:AIA-- reference ■ In Example 9–16 , the value of the element, ArtifactType, is provided as EnterpriseBusinessService because it is the referenced external service in the composite. ■ When the external service is an infrastructure utility, such as AIAAsyncErrorHandlingBPELProcess, then the value should be UtilityService. ■ The value of the element, ServiceOperationName, should be same as the value defined for the operation in the WSDL of the service to which it refers.

9.9 How to Annotate the Service Element in Composite Business Process Composite

To annotate the Service Element in a composite business process composite: 1. Furnish the details of the interface that the EBF is implementing. This could be an application specific interface, a UI service interface, or canonical interface.

2. Match the values for elements ServiceName, Namespace, and

ServiceOperationname with the corresponding values defined in the WSDL of the interface service shown below. In Example 9–17 , the value of the element: ■ InterfaceDetailsArtifactType is provided as UIService because it defines the interface that is being implemented by the Composite Business Process CBP. ■ ImplementationDetailsArtifactType is provided as CompositeBusinessProcess because the composite represents a CBP. ■ ImplementationDetailsApplicationName is provided as AIA because the composite, in this case, is participating application-agnostic.

3. The value of the element, ServiceOperationName, should be same as the value

defined for the operation in the UI service WSDL. Example 9–17 Service Element in Composite Business Process Composite Annotation Example service ui:wsdlLocation=……………… interface……………………………… binding.ws ……………………….. --svcdoc:AIA svcdoc:Service svcdoc:InterfaceDetails svcdoc:ServiceNameTelcoResolveCustomerComplaintCBPsvcdoc:ServiceName svcdoc:Namespacehttp:xmlns.oracle.comUIServicesIndustryCustomerPartyV1 svcdoc:Namespace svcdoc:ArtifactTypeUIServicesvcdoc:ArtifactType svcdoc:ServiceOperation Annotating Composites 9-19 svcdoc:NameTelcoResolveCustomerComplaintsvcdoc:Name svcdoc:ServiceOperation svcdoc:InterfaceDetails svcdoc:ImplementationDetails svcdoc:ApplicationNameAIAsvcdoc:ApplicationName svcdoc:BaseVersion1.0svcdoc:BaseVersion svcdoc:DevelopedByOraclesvcdoc:DevelopedBy svcdoc:OracleCertifiedYessvcdoc:OracleCertified svcdoc:ArtifactTypeCompositeBusinessProcesssvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameTelcoResolveCustomerComplaintsvcdoc:Name svcdoc:ServiceOperation svcdoc:ImplementationDetails svcdoc:Service svcdoc:AIA-- service

9.10 How to Annotate the Reference Element in Composite Business Process Composite