How to Annotate the Service Element in Enterprise Business Flow Composite How to Annotate the Reference Element in Enterprise Business Flow Composite

9-16 Developers Guide for Oracle Application Integration Architecture Foundation Pack ■ The element svcdoc:ResourceTargetIdentifier denotes the database schema used for the project. ■ The element svcdoc:ResourceName denotes the database table used. This element may be repeated for each database table when more than one table is used. ■ The element svcdoc:ResourceFileName should have all the SQLs and sequences required included in the file. Also, it should provide the correct order for the SQLs, in which SQLs must be executed. Example 9–14 shows the code when a JMS Adapter is used. Example 9–14 Transport Details Populated in Reference Element Using JMS Adapter Annotation Example --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeTransportAdaptersvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameProducesvcdoc:Name svcdoc:ServiceOperation svcdoc:TransportDetails svcdoc:JMSAdapter svcdoc:ResourceProviderWLSJMSsvcdoc:ResourceProvider svcdoc:ConnectionFactoryeisjmsAIASamplesCFsvcdoc:ConnectionFactory svcdoc:XAEnabledTruesvcdoc:XAEnabled svcdoc:ResourceTargetIdentifierJMSUSER1svcdoc:ResourceTargetIdentifier svcdoc:ResourceTypeQueuesvcdoc:ResourceType svcdoc:ResourceNameAIA_SiebelCustomerJMSQueuesvcdoc:ResourceName svcdoc:ResourceFileNameAIASiebelCustomerJMSQueue.sqlsvcdoc:ResourceFileName svcdoc:JMSAdapter svcdoc:TransportDetails svcdoc:Reference svcdoc:AIA--

9.7 How to Annotate the Service Element in Enterprise Business Flow Composite

To annotate the Service Element in Enterprise Business Flow composite: 1. Furnish the details of the EBS interface that the Enterprise Business Flow EBF implements.

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

ServiceOperationname with the corresponding values defined in the interface services WSDL as shown below. In Example 9–15 the value of the element: ■ InterfaceDetailsArtifactType is provided as EnterpriseBusinessService because it defines the interface that is being implemented by the EBF. ■ ImplementationDetailsArtifactType is provided as EnterpriseBusinessFlow because the composite represents an EBF. ■ ImplementationDetailsApplicationName is provided as AIA because the composite is participating application-agnostic. Annotating Composites 9-17 The value of the element, ServiceOperationName, should be same as the value defined for the operation in the EBS WSDL. Example 9–15 Service Element in EBF Composite Annotation Example service ui:wsdlLocation=……………… interface……………………………… binding.ws ……………………….. --svcdoc:AIA svcdoc:Service svcdoc:InterfaceDetails svcdoc:ServiceNameDoCreditCheckCustomerPartyEBSsvcdoc:ServiceName svcdoc:Namespacehttp:xmlns.oracle.comEnterpriseServicesCoreCustomerParty V2svcdoc:Namespace svcdoc:ArtifactTypeEnterpriseBusinessServicesvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameDoCreditCheckCustomerPartysvcdoc:Name svcdoc:ServiceOperation svcdoc:InterfaceDetails svcdoc:ImplementationDetails svcdoc:ApplicationNameAIAsvcdoc:ApplicationName svcdoc:BaseVersion1.0svcdoc:BaseVersion svcdoc:DevelopedByOraclesvcdoc:DevelopedBy svcdoc:OracleCertifiedYessvcdoc:OracleCertified svcdoc:ArtifactTypeEnterpriseBusinessFlowsvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameDoCreditChecksvcdoc:Name svcdoc:ServiceOperation svcdoc:ImplementationDetails svcdoc:Service svcdoc:AIA-- service

9.8 How to Annotate the Reference Element in Enterprise Business Flow Composite

To annotate the Reference Element in an EBF composite: Annotate the Reference element in the composite, as shown in Example 9–16 , providing the details of the Service being invoked. Example 9–16 Reference Element in EBF Composite Annotation Example reference ui:wsdlLocation…………………………………………. interface.wsdl ……………………………………………. binding.ws………………………………………………….. --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeEnterpriseBusinessServicesvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameGetCreditScoreCustomerPartyListsvcdoc:Name 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