Time and time again I walk into a client which uses Oracle and I need to connect with BizTalk to it. And ... time and time again I run into issues getting the correct Oracle client installed, then getting Visual Studio to pic K, up, and so forth. Finally, I think I has arrived at a formula for getting things working.Step 1:install the WCF LOB Adapter pack
Ensure the installed at least the 32-bit version on a development workstation as well as the 64-bit version for Any 64-bit environments. The BizTalk installation program does a nice job of walking you through installing the SDK and then the LOB packs so I won ' t go into any more details.
Step 2:obtain and install the ODAC 11.1.0.7.20 client
Technically, the adapter pack is compatible with an older 11g client and this would be taken care of via a slew of Publishe R Policy's that would "redirect" your client to the installed version. To get the client can search for ODAC1110720 or go to Oracle ' s Windows download page and locate the ODAC client links And then the specific version listed above. I honestly has not tested with the newer 11g clients but perhaps the same/similar process would work with them.
Step 3:update The adapter pack ' s assmbly binding
Locate the Microsoft.Adapters.OracleDB.Config file in the Adapter Pack ' s install directory (c:\Program Files\Microsoft Biz Talk Adapter Pack\bin) and add the following XML snippet in the <assemblyBinding...> element:
<dependentassembly><assemblyidentity name= "oracle.dataaccess" publickeytoken= "89b483f429c47342" culture= "Neutral"/><bindingredirect oldversion= "2.111.7.00" newversion= "2.111.7.20"/></dependentassembly>
Now this would redirect all 11g calls to th 11.7.0 client version to the installed version.
At this point, the Add Generated items->consume Adapter Service Wizard should work to connect to your Oracle server. Depending on your standards, if need to get a Tnsnames.ora file in the correct location OR Skip TNS resolution and US E The server ' s direct settings in the binding configuration.
Getting off the ground with the Wcf-oracledb adapter in BizTalk