Transcript Document

Setting up and Working with
the WCF LOB Oracle Adapter
Created by the Community
for the Community
BizTalk Light and Easy
Webcast Series
Miguel Herrera ( MCTS )
Integration and Web Senior Consultant
E-Mail : [email protected]
Blog : http://mymsgbox.wordpress.com
Created by the Community
for the Community
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 Community
for the Community
Built on top of WCF LOB Adapter SDK
Why a WCF LOB Adapter ?
Provides
Common basis for building integration adapters
A 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 expericence
Varied programming options
Uniform experience across LOBs
Created by the Community
for the Community
BizTalk Adapter Pack 2.0/WCF LOB Adapter SDK Poster
Created by the Community
for the Community
What can you do with Oracle Adapter ?
Add or remove data from a table
Poll for data changes in tables
Can access data in these tables using
Views
Functions
And procedures
Can browse database objects and generate schemas (metadata) for
interacting with the adpater
Created by the Community
for the Community
How 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.NET
An Operation is then returned via SOAP message
BizTalk Server
BizTalk WCF Adapter
SOAP Message
WCF Oracle Database
Adapter
ODP.NET
ORACLE DB
Created by the Community
for the Community
Working Environment
ORACLE DB – Running on Windows 2008 Server
BizTalk 2009 ( with LOB Oracle Adapter installed )
What do you need to install ?
ORACLE – Virtual
Oracle 11g
BizTalk 2009
Oracle 11g 11.1.0.7.0 ( Client and Runtime )
ODAC 11.1.0.7.0
WCF LOB Adapter SDK with SP2
Adapter Pack 2.0
Created by the Community
for the Community
Installing and Configuring
Oracle 11g on a Windows 2008
Server.
What you need to install ?
- Windows 2008 Server (latest windows updates)
- Oracle 11g database
Created by the Community
for the Community
Installing and Configuring WCF
LOB Oracle Adapter.
What you need to install ?
BizTalk 2009
Oracle 11g 11.1.0.7.0 ( Client and Runtime )
ODAC
WCF LOB Adapter SDK
Adapter Pack 2.0
Created by the Community
for the Community
Using the WCF LOB Oracle
Adapter.
Created by the Community
for the Community
Samples available
Func_RecordTypes
Demonstrates how to use RECORD type parameters and return values in functions and procedures using the
Oracle Database adapter.
Func_RefCursor
Demonstrates how to use REF CURSOR parameters in functions and procedures using the Oracle Database
adapter.
InvokeFunction
Demonstrates how to invoke a function in Oracle database using the Oracle Database adapter.
InvokeOverloadedProc
Demonstrates how to invoke with overloaded functions and procedures in Oracle database using the Oracle
Database adapter.
Operate_BFILE
Demonstrates how to use Oracle BFILE types in Oracle procedures using the Oracle Database adapter.
Operate_LOB
Demonstrates how to perform ReadLOB and UpdateLOB operations on tables with LOB data types using the
Oracle Database adapter.
SelectAccTable
Demonstrates how to perform a select query on an Oracle database table using the Oracle Database adapter.
SqlExec
Demonstrates how to perform parameterized queries using the SQLEXECUTE operation on an Oracle
database using the Oracle Database adapter.
Created by the Community
for the Community
What 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
Adapter
How 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.
Created by the Community
for the Community
BizTalk Light and Easy Webcast Series
Created by the Community
for the Community
Meet the team….
© 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.