How to Annotate the Reference Element in a Provider ABCS How to Annotate the Transport Adapter Composite

Annotating Composites 9-13 Example 9–8 Service Element in a Provider ABCS Composite Annotation Example service ui:wsdlLocation=……………… interface……………………………… binding.ws ……………………….. --svcdoc:AIA svcdoc:Service svcdoc:InterfaceDetails svcdoc:ServiceNameCustomerPartyEBSsvcdoc:ServiceName svcdoc:Namespacehttp:xmlns.oracle.comEnterpriseServicesCoreCustomerParty V2svcdoc:Namespace svcdoc:ArtifactTypeEnterpriseBusinessServicesvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameCreateCustomerPartyListsvcdoc:Name svcdoc:ServiceOperation svcdoc:InterfaceDetails svcdoc:ImplementationDetails svcdoc:ApplicationNameSamplePortalsvcdoc:ApplicationName svcdoc:BaseVersion1.0svcdoc:BaseVersion svcdoc:DevelopedByOraclesvcdoc:DevelopedBy svcdoc:OracleCertifiedYessvcdoc:OracleCertified svcdoc:ArtifactTypeProviderABCSImplementationsvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:NameCreateCustomersvcdoc:Name svcdoc:ServiceOperation svcdoc:ImplementationDetails svcdoc:Service svcdoc:AIA-- service ■ In Example 9–8 , the value of the element, InterfaceDetailsArtifactType, is provided as EnterpriseBusinessService because it defines the interface that is being implemented by the Provider ABCS. ■ ImplementationDetailsArtifactType , is provided as ProviderABCSImplementation because the composite represents a provider ABCS. ■ The value of the element, ServiceOperationName, should be same as the value defined for the operation in the WSDL of the ABCS.

9.5 How to Annotate the Reference Element in a Provider ABCS

Annotate the Reference element in the composite, as shown in Example 9–9 , Example 9–10 , and Example 9–11 providing the details of the Service. The service being invoked can be a participating application, an adapter service, or a utility service. Example 9–9 Reference Element in Provider ABCS Invoking Participating Web Service Annotation Example --svcdoc:AIA ; svcdoc:Reference svcdoc:ArtifactTypeUtilityServicesvcdoc:ArtifactType 9-14 Developers Guide for Oracle Application Integration Architecture Foundation Pack svcdoc:ServiceOperation svcdoc:Nameinitiatesvcdoc:Name svcdoc:ServiceOperation svcdoc:Reference svcdoc:AIA-- --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeApplicationWebServicesvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:Nameinsertsvcdoc:Name svcdoc:ServiceOperation svcdoc:Reference svcdoc:AIA-- Example 9–10 Reference Element in Provider ABCS Invoking Utility Service Annotation Example --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeUtilityServicesvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:Nameinitiatesvcdoc:Name svcdoc:ServiceOperation svcdoc:Reference svcdoc:AIA-- Example 9–11 Reference Element in Provider ABCS Invoking Non-SOAP Service Annotation Example --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeTransportAdaptersvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:Nameprocesssvcdoc:Name svcdoc:ServiceOperation svcdoc:Reference svcdoc:AIA--

9.6 How to Annotate the Transport Adapter Composite

To annotate the Transport Adapter composite: 1. For a Transport Adapter composite, populate the element, TransportDetails, under: ■ Service if nonSOAP transport is used to interface with this service. ■ Reference if the service uses nonSOAP transport to interface with participating applications external systems.

2. In both cases, the values for the element ArtifactType are provided as

TransportAdapter. Annotating Composites 9-15 The artifact type TransportAdapter indicates that the service is responsible for transforming nonSOAP requests into SOAP requests and vice versa. Example 9–12 illustrates how transport details are populated in the section Service . Example 9–12 Transport Adapter Composite Annotation Example --svcdoc:AIA svcdoc:Service svcdoc:ImplementationDetails svcdoc:ApplicationNameSamplePortalsvcdoc:ApplicationName svcdoc:BaseVersion1.0svcdoc:BaseVersion svcdoc:DevelopedByABSGsvcdoc:DevelopedBy svcdoc:OracleCertifiedYessvcdoc:OracleCertified svcdoc:ArtifactTypeTransportAdaptersvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:Nameprocesssvcdoc:Name svcdoc:ServiceOperation svcdoc:ImplementationDetails svcdoc:Service svcdoc:AIA-- Example 9–13 depicts how transport details are populated in the section Reference. Example 9–13 Transport Details Populated in Reference Element Annotation Example --svcdoc:AIA svcdoc:Reference svcdoc:ArtifactTypeTransportAdaptersvcdoc:ArtifactType svcdoc:ServiceOperation svcdoc:Nameinsertsvcdoc:Name svcdoc:ServiceOperation svcdoc:TransportDetails svcdoc:DBAdapter svcdoc:ResourceProviderOracleDBsvcdoc:ResourceProvider svcdoc:ConnectionFactoryeisdbAIASamplesDBsvcdoc:ConnectionFactory svcdoc:ApplicationNameSamplePortalsvcdoc:ApplicationName svcdoc:XAEnabledTruesvcdoc:XAEnabled svcdoc:ResourceTargetIdentifierAIASamplesDBsvcdoc:ResourceTargetIdentifier svcdoc:ResourceNameAIAS_PORTAL_ACC_CONTACTsvcdoc:ResourceName svcdoc:ResourceNameAIAS_PORTAL_ACCOUNTsvcdoc:ResourceName svcdoc:ResourceFileNameAIAS_PORTAL_ACCOUNT_CONTACT.sql svcdoc:ResourceFileName svcdoc:DBAdapter svcdoc:TransportDetails svcdoc:Reference svcdoc:AIA-- Note that in Example 9–13 : 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