Integration with Oracle eBusiness Suite and BizTalk 2006
In this post I will give some pointers how to set up a couple of things so you are able to integrate Oracle database/Oracle eBusiness Suite with BizTalk Server 2006. The adapters can be downloaded here. To install and configure them Microsoft also released documentation. The adapter uses databases through ODBC and runs on W2K, W2K3 and XP. And Oracle client 9.2 at least is required which includes the Oracle ODBC Driver (update to driver 9.2.0.5.4). Installation of the client can be found in the documentation provided in the link above. After installation of the client, ODBC connection has to be setup. Here comes the tricky part. As soon one chooses System DSN, the name should exact ba as the TNS name i.e. mytnsname (TNS) mytnsname (DSN), see picture below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBlLLiv8aNaqFWdfRPTQTqTvynL7a0HviAn_A1V_R1xI1s9lydq1WengsUPVCDWIuats0UWakjrgi4EEGxjvSA1Z8lZPtrD5edMtx9lqeybHK0G-vT3xt3tKUsz_QSwuZGevRU/s400/ODBC+Config.JPG)
As soon as this all behind you next thing to do is setting up a receive location to use the adapter. The following link gives you a very good explanation how to do this. At the end of this blog post a simple orchestration is shown.
I have created a slightly different orchestration, where one can place the query xml message in a receive location (FILE) like:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtfCiQ13-rumV0jY11h7pfs9c5S8fi9rdPLfNzPvYwn5CoX3B9LevgY-n-UlHeVb8UyRtTAuUB359g7q5fVuzCSXsNlkl-VCXlp7TkSd5i_JAjNdjXCMKJ94MjSpi56xRCRzmF/s400/Query.JPG)
Query will be fired against Oracle database. The result will be received and bracket will be stripped, because they give problems with xpath queries or splitting the records in xml document into single messages using the splitter pattern. Using the log4net component one can log to database, file etcetera. Go to log4net to get that open-source project and the extension for BizTalk can be found at Scott Colestocks blog. Going through al this stuff I can now integrate easily with Oracle database/Oracle eBusiness Suite. One needs support though from an Oracle DBA to get the proper rights to schemas, where one want retrieve data from.
Technorati:
BizTalk Server 2006
Enterprise Adapters
Oracle eBusiness Suite
As soon as this all behind you next thing to do is setting up a receive location to use the adapter. The following link gives you a very good explanation how to do this. At the end of this blog post a simple orchestration is shown.
I have created a slightly different orchestration, where one can place the query xml message in a receive location (FILE) like:
Technorati:
![](http://static.technorati.com/static/img/pub/icon-utag-16x13.png?tag=BizTalk+Server+2006)
![](http://static.technorati.com/static/img/pub/icon-utag-16x13.png?tag=Enterprise+Adapters)
![](http://static.technorati.com/static/img/pub/icon-utag-16x13.png?tag=Oracle+eBusiness+Suite)
Comments