INSTALLING AND INVOKING ORACLE DATA INTEGRATOR (ODI) PUBLIC WEB SERVICES



Similar documents
Oracle Data Integrator 12c: Integration and Administration

Oracle Data Integrator 11g: Integration and Administration

DYNAMIC ROUTING OF ENDPOINTS USING ORACLE ENTERPRISE SERVICE BUS (ESB)

SERVICE ORIENTED ARCHITECTURE

What I Advise Every Customer To Do On Their Oracle SOA Projects

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

D83167 Oracle Data Integrator 12c: Integration and Administration

1 What Are Web Services?

1 What Are Web Services?

ActiveVOS Clustering with JBoss

Oracle Order to Activate Integration Pack for Siebel CRM and Oracle Communications Order and Service Management

Orchestrating Document and Media Management using CMIS

WebLogic Server - OGG Domain under Windows7 Startup and Shutdown Admin Server and Managed Servers

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

Oracle WebLogic Server: Remote Monitoring and Management

Oracle Data Integrator integration with OBIEE

ActiveVOS Server Architecture. March 2009

Oracle Managed File Getting Started - Transfer FTP Server to File Table of Contents

Deploying Oracle Business Intelligence Publisher in J2EE Application Servers Release

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

An Oracle White Paper February Oracle Data Integrator 12c Architecture Overview

Internet Address: cloud.ndcl.org

WebSphere Business Monitor V7.0: Clustering Single cluster deployment environment pattern

ClicktoFax Service Usage Manual

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

CORISECIO. Quick Installation Guide Open XML Gateway

Oracle WebLogic Server 11g: Administration Essentials

Oracle Service Bus Examples and Tutorials

Oracle Business Activity Monitoring 11g New Features

OBIEE Cloning. Cloning the OBIEE 11g database migration to a new host. Ashok Thiyagarajan ADVANS MARLBOROUGH, MA AND CHENNAI, INDIA

Implementing a SAS Metadata Server Configuration for Use with SAS Enterprise Guide

Integrating your Maven Build and Tomcat Deployment

KonyOne Server Installer - Linux Release Notes

ENTERPRISE EDITION ORACLE DATA SHEET KEY FEATURES AND BENEFITS ORACLE DATA INTEGRATOR

OWB Users, Enter The New ODI World

Query JD Edwards EnterpriseOne Customer Credit using Oracle BPEL Process Manager

ITG Software Engineering

Oracle Fusion Middleware User s Guide for Oracle Approval Management for Microsoft Excel 11gRelease 1 ( )

Informatica MRS Backup

An Oracle White Paper September Oracle WebLogic Server 12c on Microsoft Windows Azure

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Using Internet or Windows Explorer to Upload Your Site

White Paper DEPLOYING WDK APPLICATIONS ON WEBLOGIC AND APACHE WEBSERVER CLUSTER CONFIGURED FOR HIGH AVAILABILITY AND LOAD BALANCE

SOA Software API Gateway Appliance 7.1.x Administration Guide

IIS, FTP Server and Windows

Enterprise Service Bus

Marcum LLP MFT Guide

TIBCO Spotfire Statistics Services Installation and Administration Guide. Software Release 5.0 November 2012

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

[1]Oracle Communications Billing and Revenue Management Web Services Manager Release 7.5 E

How To - Implement Single Sign On Authentication with Active Directory

Instant Chime for IBM Sametime For IBM Websphere and IBM DB2 Installation Guide

Oracle SOA Suite 11g: Essential Concepts Student Guide

5 Days Course on Oracle WebLogic Server 11g: Administration Essentials

Installation & Upgrade Guide

ORACLE MANAGED FILE TRANSFER

HP Cloud Service Automation

ORACLE SOA SUITE. Product Overview

Copyright 2014 Jaspersoft Corporation. All rights reserved. Printed in the U.S.A. Jaspersoft, the Jaspersoft

1Z Oracle Weblogic Server 11g: System Administration I. Version: Demo. Page <<1/7>>

Monitoring Oracle Fusion Middleware

Extending Remote Desktop for Large Installations. Distributed Package Installs

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Oracle Product Data Quality

Oracle Data Integrator 11g New Features & OBIEE Integration. Presented by: Arun K. Chaturvedi Business Intelligence Consultant/Architect

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

Oracle SOA Suite: The Evaluation from 10g to 11g

Lucid Key Server v2 Installation Documentation.

How To - Implement Clientless Single Sign On Authentication in Single Active Directory Domain Controller Environment

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

1z0-102 Q&A. DEMO Version

Install and Configure Fusion Applications - DBA perspective. Masthan Babu Phani Kottapalli AST Corporation August 14, 2014

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

TIBCO Spotfire Statistics Services Installation and Administration Guide

Reporting component for templates, reports and documents. Formerly XML Publisher.

Oracle Fusion Middleware

DEPLOYING EMC DOCUMENTUM BUSINESS ACTIVITY MONITOR SERVER ON IBM WEBSPHERE APPLICATION SERVER CLUSTER

Wireless Guest Server User Provisioning Instructions

Configuring Single Sign-On for Documentum Applications with RSA Access Manager Product Suite. Abstract

Management Utilities Configuration for UAC Environments

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Policies and Procedures for creating and maintaining a site

EMC Documentum Connector for Microsoft SharePoint

Oracle Enterprise Manager

Setup Database as a Service using EM12c

Oracle Service Bus vs. Oracle Enterprise Service Bus vs. BPEL wann soll welche Komponente eingesetzt werden?

E-Business Suite Oracle SOA Suite Integration Options

Active Directory Integration

TIBCO Spotfire Statistics Services Installation and Administration. Release 5.5 May 2013

Citrix Systems, Inc.

INTRODUCTION TO CLOUD MANAGEMENT

Oracle Project Portfolio Management Integration Pack for Primavera P6 and Oracle E-Business Suite Implementation Guide

Oracle Cloud E

WebSphere Business Monitor V7.0 Configuring a remote CEI server

Specops Command. Installation Guide

TIBCO Silver Fabric Continuity User s Guide

Transcription:

INSTALLING AND INVOKING ORACLE DATA INTEGRATOR (ODI) PUBLIC WEB SERVICES A White Paper prepared by Raastech Author Ahmed Aboulnaga Copyright Raastech 2010

INTRODUCTION Oracle Data Integrator (ODI) is a comprehensive data integration platform that covers all data integration requirements from high-volume, high performance batches, to event-driven, tricklefeed integration processes, to SOA-enabled data services. This paper will focus on describing how to take advantages of the SOA capabilities built into ODI. ODI 10g (10.1.3.4) has three major areas of web service functionality: 1. Data Services 2. ODIInvokeWebService Tool 3. ODI Public Web Service Data Services provide web service accessibility over an ODI data store (i.e., a table, view or other data source registered in ODI). The ODIInvokeWebService tool provides the ability add to a package to request a response from a web service. Finally, the Oracle Data Integrator Public Web Service lets you execute a scenario (i.e., a published package) via a web service call. ODI provides numerous mechanisms to invoke scenarios, such as from the command prompt. This allows the ability to script the execution of ODI scenarios and take actions based on the response. Below is an example of how a scenario is executed from the command prompt: set ODI_JAVA_HOME=C:\oracle\product\10.1.3\soa_1\jdk set ODI_HOME=c:\oracle\product\10.1.3\odi_1\oracledi cd %ODI_HOME%\bin startscen SCENARIONAME 001 GLOBAL "-v=2" By leveraging the ODI Public Web Service, the same scenario can be executed via a web service call. This, for example, allows the coordination of an E-LT process from any web service client such as BPEL or even Oracle Business Activity Monitoring (BAM). This paper will detail steps for the installation and invocation of the ODI Public Web Service. Raastech White Paper 2 / 8

INSTALLING THE ODI PUBLIC WEB SERVICE The ODI Public Web Service does not need to be installed on the same server in which the ODI Server resides. It requires the following 3 components: 1. Apache Axis2 (axis2.war; freely downloadable from the Apache Software Foundation) 2. ODI Axis Service Archive file (odi-public-ws.aar; included in all ODI installations) 3. Java container (such as Oracle Application Server 10g) Step 1: Download Apache Axis2 Apache Axis2 v1.2 can be downloaded from: http://archive.apache.org/dist/ws/axis2/1_2/axis2.war This WAR file can be deployed to any standard Java container such as OC4J or Apache Tomcat. If installing on OC4J 10g, version 1.2 of Apache Axis2, and not versions 1.3 or 1.4, is required (otherwise a Requested resource not found! error may appear when accessing the Axis2 home page). Step 2: Deploy the axis2.war file This step describes how to deploy Apache Axis2 to OC4J 10g. This assumes that Oracle Application Server 10g is available and a container is created that will host the Axis2 application. The axis2.war file is deployed to OC4J via EM (Enterprise Manager) as follows: a. Log on to Oracle Enterprise Manager 10g (e.g., http://<hostname>:<port>/em). b. Click on an OC4J container to deploy to (e.g., home). c. Click on Applications. d. Click on Deploy. e. Browse for the axis2.war file and click Next. f. Enter axis2 as the Application Name and click Next. g. Click on Deploy. Raastech White Paper 3 / 8

Step 3: Upload the ODI Axis Service Archive File The Apache Axis2 page is accessible at http://<hostname>:<port>/axis2/axis2-admin/ on your Oracle Application Server 10g server. a. Navigate to the Apache Axis2 Web Admin page at: http://<hostname>:<port>/axis2/axis2-admin/ b. Log in to Apache Axis2. The default administrator username is admin and the default password is axis2. c. Click on Upload Service. Figure 1. The Apache Axis2 Web Admin Page d. Browse for the ODI axis service archive file odi-public-ws.aar and click on Upload. e. This file is located in the ODI Oracle_Home under: $ORACLE_HOME/oracledi/tools/web_services/ The ODI Public Web Service is now accessible at: http://<hostname>:<port>/axis2/services/odiinvoke?wsdl Raastech White Paper 4 / 8

INVOKING THE ODI PUBLIC WEB SERVICE The ODI Public Web Service includes the following operations: listcontext listscenario invokescenario getwebserviceversion invokesession For example, the getwebserviceversion operation merely responds with the ODI Web Service Version. By invoking this web service operation using the following payload: <soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:odi="xmlns.oracle.com/odi/odiinvoke/"> <soap:header/> <soap:body> <odi:getwebserviceversionrequest/> </soap:body> </soap:envelope> the following response is returned: <soapenv:envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:body> <ns1:getwebserviceversionresponse xmlns:ns1="xmlns.oracle.com/odi/odiinvoke/"> <ns1:version>10.1.3.5.0</ns1:version> </ns1:getwebserviceversionresponse> </soapenv:body> </soapenv:envelope> The invokescenario operation, on the other hand, requires ODI server specific connection information and credentials (hence the reason why this service can reside on a server separate from the ODI Server). Raastech White Paper 5 / 8

The following is a sample payload used for the invokescenario operation: <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:odi="xmlns.oracle.com/odi/odiinvoke/"> <soapenv:header/> <soapenv:body> <odi:invokescenariorequest> <odi:repositoryconnection> <odi:jdbcdriver>oracle.jdbc.driver.oracledriver</odi:jdbcdriver> <odi:jdbcurl>jdbc:oracle:thin:@dbhost:1521:dbname</odi:jdbcurl> <odi:jdbcuser>odi</odi:jdbcuser> <odi:jdbcpassword>password</odi:jdbcpassword> <odi:odiuser>supervisor</odi:odiuser> <odi:odipassword>sunopsis</odi:odipassword> <odi:workrepository>work Repository Name</odi:WorkRepository> </odi:repositoryconnection> <odi:command> <odi:scenname>scenarioname</odi:scenname> <odi:scenversion>001</odi:scenversion> <odi:context>global</odi:context> <odi:loglevel>5</odi:loglevel> <odi:syncmode>1</odi:syncmode> </odi:command> <odi:agent> <odi:host>agenthost</odi:host> <odi:port>20910</odi:port> </odi:agent> </odi:invokescenariorequest> </soapenv:body> </soapenv:envelope> Raastech White Paper 6 / 8

The response of this operation is synchronous and the ODI session number is returned (however, the scenario is executed asynchronously): <soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:body> <ns1:invokescenarioresponse xmlns:ns1="xmlns.oracle.com/odi/odiinvoke/"> <ns1:ok>true</ns1:ok> <ns1:sessionnumber>75001</ns1:sessionnumber> <ns1:errormessage/> </ns1:invokescenarioresponse> </soapenv:body> </soapenv:envelope> Execution of the ODI session can be confirmed via the ODI Operator console: Figure 2. ODI Session Execution in the ODI Operator Console Raastech White Paper 7 / 8

SUMMARY Oracle Data Integrator (ODI) provides comprehensive technical platform capabilities for data distribution, data integration, and data connectivity. Provided with the suite, the ODI Public Web Service provides flexibility and ease of use, particularly for Service Oriented Architecture (SOA) implementations. For example, BPEL processes can be used to perform large document transformation as part of the service. This allows ODI capabilities such as batch processing and database-to-database replication to be easily incorporated as sub-processes within a larger business process. The SOA layer can thus delegate certain functions to ODI for specific data handling needs. About Raastech: Raastech specializes in information technology development and systems integration. Founded in 2009, Raastech provides management consulting, systems development, and integration to both federal agencies and commercial organizations. We provide value to our clients by being innovative and dependable partners in achieving their objectives. For more information, please visit http://www.raastech.com. About the Author: Ahmed Aboulnaga is a Technical Director at Raastech and has extensive experience in Oracle Fusion Middleware. He has been involved in the architecting and implementation of large scale systems involving middleware technologies such as Oracle SOA Suite, Oracle Application Integration Architecture, Oracle Data Integrator, Oracle Integration B2B, Oracle Identity Management, and numerous other Oracle middleware technologies. Raastech White Paper: Overview of the Oracle AIA Foundation Pack PIP Auditor September 2010 Raastech Headquarters: 2201 Cooperative Way, Suite 600 Herndon, VA 20171 www.raastech.com Copyright 2010 Raastech, Inc. All rights reserved. Raastech White Paper 8 / 8