Click OK to save your changes. Click the Generate and Deploy tab to deploy it on the OC4J server.

Using Oracle Data Integrator for Bulk Processing 22-29 Figure 22–22 Topology Configuration 6. Set up the Data Model to access the data of the table using a web service.

a. Open the model and go to the Services tab as shown in

Figure 22–22 .

b. From the Application Server list, select the Web Services container that you

set up earlier. c. Enter the Namespace to be used in the generated WSDL. d. Specify the Package name used to name the generated Java package that contains your Web Service. Generally, this is of the form com.company name.project name.

e. In the Name of the data source field, copy and paste the name of the

datasource that you defined for the server when setting up the datasources. Provide the JNDI location of the data source. f. Define the Data Service Name. g. Select a service knowledge module SKM Oracle from the list, and set its options.

h. Go to the Deployed Datastores tab.

i. Select every datastore needed to expose as a Web Service. For each one, specify a Data Service Name and the name of the Published Entity.

j. Click OK to save your changes.

k. Click the Generate and Deploy tab to deploy it on the OC4J server.

l. The deployed data store can be viewed at http:Host:HTTP portaxis2serviceslistServices along with all the available operations. 22-30 Developers Guide for Oracle Application Integration Architecture Foundation Pack m. The generated data service can be tested using OdiInvokeWebService tool provided in the package. Figure 22–23 Services - Data Services Page 7. Run a scenario using a Web Service. OdiInvoke web service is used to run a scenario using a web service. The WSDL is http:Host:HTTP portaxis2servicesOdiInvoke?wsdl. The port to use is called invokeScenario. This web service commands an agent to connect a given work repository and to start a specific scenario. Parameters are similar to the ones used when running a scenario from an OS command. Example 22–4 is a sample SOAP request for this web service. Example 22–4 Sample SOAP Request for the OdiInvoke Web Service invokeScenarioRequest invokeScenarioRequest RepositoryConnection JdbcDriveroracle.jdbc.driver.OracleDriverJdbcDriver JdbcUrljdbc:oracle:thin:sbijayku-idc:1522:orcl1JdbcUrl JdbcUserMASTER_FINPROJJdbcUser JdbcPasswordmasterJdbcPassword Using Oracle Data Integrator for Bulk Processing 22-31 OdiUserSUPERVISOROdiUser OdiPasswordSUNOPSISOdiPassword WorkRepositoryWORKWorkRepository RepositoryConnection Command ScenNameABCScenName ScenVersion001ScenVersion ContextRETL_TO_PSFTContext LogLevel5LogLevel SyncMode1SyncMode Command Agent Hostsbijayku-idcHost Port20910Port Agent invokeScenarioRequest invokeScenarioRequest The scenario execution returns a SOAP response as shown in Example 22–5 . Example 22–5 SOAP Response Returned by the Scenario Execution odi:invokeScenarioResponse xmlns:odi=xmlns.oracle.comodiOdiInvoke odi:CommandResultType odi:Oktrueodi:Ok odi:SessionNumber1148001odi:SessionNumber odi:CommandResultType odi:invokeScenarioResponse 22-32 Developers Guide for Oracle Application Integration Architecture Foundation Pack 23 Working with Message Transformations 23-1 23 Working with Message Transformations This chapter describes how to create transformation maps, work with domain value maps DVMs and cross-references, and populate Enterprise Business Message EBM headers. This chapter includes the following sections: ■ Section 23.1, Introduction to Transformation Maps