Importing Load Plans Exporting, Importing and Versioning Load Plans

Working with Web Services in Oracle Data Integrator 15-3

15.3 Oracle Data Integrator Run-Time Services

Oracle Data Integrator Run-Time Services are web services that enable users to leverage Oracle Data Integrator features in a service-oriented architecture SOA. These web services are invoked by a third-party application manage start scenarios developed with Oracle Data Integrator. How to perform the different ODI execution tasks with the ODI Run-Time Services such as executing a scenario, restarting a session, listing execution contexts and scenarios is detailed in Section 20.11, Managing Executions Using Web Services . Section 20.11 also provides examples of SOAP requests and responses.

15.4 Invoking Third-Party Web Services

This section describes how to invoke third-party web services in Oracle Data Integrator. This section includes the following topics: ■ Section 15.4.1, Introduction to Web Service Invocation ■ Section 15.4.2, Using the OdiInvokeWebService Tool ■ Section 15.4.3, Web Service Invocation in Integration Flows

15.4.1 Introduction to Web Service Invocation

Web Services can be invoked: ■ In Oracle Data Integrator packages or procedures using the OdiInvokeWebService tool: This tool allows you to invoke any third party web service, and save the response in a XML file that can be processed with Oracle Data Integrator. ■ For testing Data Services: The easiest way to test whether your generated data services are running correctly is to use the graphical interface of the OdiInvokeWebService tool. See Section 15.4.2, Using the OdiInvokeWebService Tool for more information.

15.4.2 Using the OdiInvokeWebService Tool

The OdiInvokeWebService tool invokes a web service using the HTTP or HTTPS protocol and is able to write the returned response to an XML file, which can be an XML payload or a full-formed SOAP message including a SOAP header and body. The OdiInvokeWebService tool invokes a specific operation on a port of a web service whose description file WSDL URL is provided. If this operation requires a SOAP request, it is provided either in a request file or in the tool command. The response of the web service request is written to an XML file that can be used in Oracle Data Integrator. How to create a web service request is detailed in Section 15.4.3, Web Service Invocation in Integration Flows . Note: If the web service operation is one-way and does not return any response, no response file is generated.