14
Created by the Community for the Community Setting up and Working with the WCF LOB Oracle Adapter LIGHT AND EASY

Created by the Community for the Community Setting up and Working with the WCF LOB Oracle Adapter

  • View
    215

  • Download
    1

Embed Size (px)

Citation preview

Created by the Communityfor the Community

Setting up and Working with the WCF LOB Oracle Adapter

LIGHT AND EASY

Created by the Communityfor the Community

Setting up and Working with the WCF LOB Oracle Adapter

Miguel Herrera ( MCTS )Integration and Web Senior ConsultantE-Mail : [email protected] : http://mymsgbox.wordpress.com

BizTalk Light and Easy Webcast Series

Created by the Communityfor the Community

Session Agenda

Overview of WCF LOB Adapter for Oracle

WALKTHROUGH : Setting-up and Configuring a working environment.

DEMO : Using the Oracle LOB Adapter ( ‘Hello Oracle’)

Other functionality provided by the Adapter.

Summary

Created by the Communityfor the Community

Overview of Oracle Adapter

Built on top of WCF LOB Adapter SDKWhy a WCF LOB Adapter ?

ProvidesCommon basis for building integration adaptersA variety of applications can use, not just BizTalk

Aligns with the adapter strategy that Microsoft has with exposing integration services via the WCF channel architecture.

As the documenation states :Consistent design-time expericenceVaried programming optionsUniform experience across LOBs

Created by the Communityfor the Community

WCF Adapters

BizTalk Adapter Pack 2.0/WCF LOB Adapter SDK Poster

Created by the Communityfor the Community

Overview of Oracle Adapter

What can you do with Oracle Adapter ?Add or remove data from a tablePoll for data changes in tablesCan access data in these tables using

ViewsFunctionsAnd procedures

Can browse database objects and generate schemas (metadata) for interacting with the adpater

Created by the Communityfor the Community

Overview of Oracle AdapterHow does it all work ?

Basically, the oracle database is exposed as a WCF service

You perform operations by exchanging SOAP Internally adapter converts message to ODP.NETAn Operation is then returned via SOAP message

BizTalk ServerBizTalk WCF Adapter

WCF Oracle Database Adapter

SOAP Message

ORACLE DB

ODP.NET

Created by the Communityfor the Community

Setup and Configure working Environment

Working EnvironmentORACLE DB – Running on Windows 2008 ServerBizTalk 2009 ( with LOB Oracle Adapter installed )

What do you need to install ?ORACLE – Virtual

Oracle 11g

BizTalk 2009Oracle 11g 11.1.0.7.0 ( Client and Runtime )ODAC 11.1.0.7.0WCF LOB Adapter SDK with SP2Adapter Pack 2.0

Created by the Communityfor the Community

Installing and Configuring Oracle 11g on a Windows 2008 Server.

DEMO…

What you need to install ?

- Windows 2008 Server (latest windows updates)- Oracle 11g database

Created by the Communityfor the Community

Installing and Configuring WCF LOB Oracle Adapter.

DEMO…

What you need to install ?

BizTalk 2009Oracle 11g 11.1.0.7.0 ( Client and Runtime )ODACWCF LOB Adapter SDKAdapter Pack 2.0

Created by the Communityfor the Community

Using the WCF LOB Oracle Adapter.

DEMO…

Created by the Communityfor the Community

Other Sample applications availableSamples available

Func_RecordTypesDemonstrates how to use RECORD type parameters and return values in functions and procedures using the Oracle Database adapter.

Func_RefCursorDemonstrates how to use REF CURSOR parameters in functions and procedures using the Oracle Database adapter.

InvokeFunctionDemonstrates how to invoke a function in Oracle database using the Oracle Database adapter.

InvokeOverloadedProcDemonstrates how to invoke with overloaded functions and procedures in Oracle database using the Oracle Database adapter.

Operate_BFILEDemonstrates how to use Oracle BFILE types in Oracle procedures using the Oracle Database adapter.

Operate_LOBDemonstrates how to perform ReadLOB and UpdateLOB operations on tables with LOB data types using the Oracle Database adapter.

SelectAccTableDemonstrates how to perform a select query on an Oracle database table using the Oracle Database adapter.

SqlExecDemonstrates how to perform parameterized queries using the SQLEXECUTE operation on an Oracle database using the Oracle Database adapter.

Created by the Communityfor the Community

SummaryWhat did we look at ?

How to setup and configure a fully working environment where you can play and learn using the Oracle LOB Adapter.

What did we learn ?Learned how to configure connectivity to Oracle using the AdapterHow to extract schemas for various db objects.How to poll data from oracle db table and how to generate a polling schema

What’s next ?You now have an environment that you can try the sample applications provided by Microsoft for using the Oracle LOB Adapter.

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after

the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

BizTalk Light and Easy Webcast Series

Created by the Community for the CommunityMeet the team….