iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

  • Facebook
  • Instagram
  • LinkedIn
  • Phone
  • Twitter
  • YouTube

Copyright © 2025 · iT Synergy·

The BizTalk Adapter for Oracle Database – Making Polling work
The BizTalk Adapter for Oracle Database – Making Polling work avatar

January 4, 2011 By Sonia Elizabeth Soriano Contreras Leave a Comment

After troubleshooting my previous issues with the connection to the Oracle Database using the Oracle Database Adapter (see my previous post)  I was able now to focus on making the polling to the oracle database work.

I implemented a sample BizTalk solution where I have an orchestration which only has the receive and the send ports.

The Receive is supposed to do the polling by means of a SELECT Statement to a table in my Oracle DB, and the Send Port sends the received message to a FILE Send Port.  That’s it.

First I had to import the schemas in the Consume Service Adapter Wizard, on my first try I did it wrong, I imported the schemas without specifying a pollingId, and without specifying the SELECT statement.  What I did was just to get the Select from the Table:

This actually imported the schemas.  After setting the MessageType to the imported schema, and deploying my BizTalk Solution I configured my receive and send ports.  The Receive Location was configured with the SELECT sentence in the PollingStatement, and I set the PollingInterval to 60 seconds. Also, this receive location was configured with WCF-Custom Transport Type and OracleDbBinding for the Binding Type. The Receive Pipeline was set to XML Receive.

For the send port, I just made a simple FILE Send Port and configured it with Send Pipeline XML Transmit.

After binding the orchestration to the recently created receive and send ports, and starting the application, the thing never worked.  I was complicating my life more than I had to…

When the application was started, and the polling began, there was an error happening. In the Event Viewer I started to see the following:

There was a failure executing the receive pipeline: “Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” Source: “XML disassembler” Receive Port: “Rcv_OraclePolling” URI: “oracledb://dddddd” Reason: Finding the document specification by message type “http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMT#POLLINGSTMT” failed. Verify the schema deployed properly.

Well, this wasn’t the schema I was expecting.  I went through some reading and found that the way I had imported the schemas was very wrong.

The right way to do it is as follows.

In the Consume Service Adapter Wizard specify the SELECT query and a Polling Id to identify the query (this will help a lot if you are going to have more than one polling receive location in your BizTalk solution):

After setting this you are set to go.  Click OK and then try to Connect:

You can notice several things here.  First you have a PollingId in the URI string, second in the Contract Type you have to select Service (Inbound Operations), and third, when you click the Root (/) under the Category selection, you will find in the available categories and operations windows the POLLINGSTMT,  WOW!! Yep, this is what BizTalk was expecting from the query polled.

After this you have the right schema, and also you have the Binding for the Receive Location generated (so you don’t have to worry about creating it from scratch).

Then I just change the Message Type to the correct Schema POLLINGSTMT and change the Requests types for the Receive and Send Ports. Then deployed, imported the binding file to create the receive location and that’s it!  It worked!

I would finally get my output file as desired.

For some people there must be much easier just to get the Oracle Database Adapter Sample available from http://msdn.microsoft.com/en-us/biztalk/gg491395, well, I actually got the sample and opened in my Visual Studio, the thing was that I never understood that the POLLINGSTMT schema was supposed to be created from the schema generation in the Consume Adapter Service Wizard.  So after spending some time with the errors and reading a bit, a finally got to the understand and get my solution to work.  Hope it helps!

Some good links for understanding Polling:

http://msdn.microsoft.com/en-us/library/cc185291(BTS.10).aspx

http://msdn.microsoft.com/en-us/library/cc185181(BTS.10).aspx

http://msdn.microsoft.com/en-us/library/dd788457(BTS.10).aspx

http://msdn.microsoft.com/en-us/library/dd788193(v=BTS.10).aspx

http://msdn.microsoft.com/en-us/library/dd788064(BTS.10).aspx

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, BizTalk Services, SOA

Error instalando Dynamic Resolution Sample en Windows Server 2008
Error instalando Dynamic Resolution Sample en Windows Server 2008 avatar

October 12, 2010 By Jaime Alonso Páez torres Leave a Comment

Problema

El error es generado cuando se ejecuta por linea de comandos el instalador del ejemplo de ESB llamado Dynamic Resolution, ubicado en ..Samples\DynamicResolution\Install\Scripts\DynamicResolution_Install.cmd

The term ‘C:\Programs Files (X86)\Microsoft Visual Studio 8\SDK\v2.0\bin\gacutil.exe’ is not recognized as the name of a cmdlet

Este es un pantallazo del error.

Causa

Sucede en equipos de 64 bits que tengan instalado VS2010 y algunas extensiones de VS2008, ya que el script ESBFunctions.ps1, ubicado en c:\projects\microsoft.practices.esb\source\install\scripts\, intenta ubicar la herramienta de registrar dll en el GAC en una ruta existente que no posee este ejecutable gacutil.exe.

Solución

Es necesario modificar el script c:\projects\microsoft.practices.esb\source\install\scripts\ESBFunctions.ps1, para que ubique la ruta correcta del gacutil.exe

1. Abrir con el notepad el script.

2. Reemplazar las líneas

$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\.NETFramework\”).$SdkKeyName

if ($SDKPath -eq $null)
{
$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.1”).InstallationFolder
}
if ($SDKPath -eq $null)
{
$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.0A”).InstallationFolder
}

por

$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.0A”).InstallationFolder

if ($SDKPath -eq $null)
{
$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v7.1”).InstallationFolder
}
if ($SDKPath -eq $null)
{
$SDKPath=(Get-ItemProperty  “hklm:SOFTWARE\Wow6432Node\Microsoft\.NETFramework\”).$SdkKeyName
}

Filed Under: .NET, BizTalk, BizTalk 2010 configurations, BizTalk Application, BizTalk Services

ESB Toolkit 2.1 Error Importando archivo Microsoft.Practices.ESB.CORE64.msi
ESB Toolkit 2.1 Error Importando archivo Microsoft.Practices.ESB.CORE64.msi avatar

May 25, 2010 By Marco Antonio Hernández Prado Leave a Comment

Después de haber instalado BizTalk 2010 Beta e instalado ESB Toolkit 2.1 Beta fui a realizar la importación en BizTalk del archivo  Microsoft.Practices.ESB.CORE64.msi, es así como lo he realizado desde que el Toolkit era ESB Guidance CTP 2 versión 1. Me sale el siguiente error:

===================================

Unable to register (biztalk) assembly resource with Luid “Microsoft.Practices.ESB.Resolver.Itinerary, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” and source location “C:\Users\Administrator\AppData\Local\Temp\1\tmpF58A\Assembly\92432d412d4d5cf08f75a714d365ebe1\Microsoft.Practices.ESB.Resolver.Itinerary.dll”. (Microsoft.BizTalk.ResourceManagers)

===================================

Es una pena que no esté funcionando justo el MSI que necesito para mis pruebas, aquí hay un blog que encontré pero no han solucionado nada, falta es esperar, estare pendiente esperando que el grupo de BizTalk realice la respectiva actualización.

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, BizTalk Services, develop, ESB, SOA Tagged With: ESB

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page »

Team


Marco
Antonio Hernández

Jaime
Alonso Páez

Luis
Carlos Bernal

Ana
María Orozco

Juan
Camilo Zapata

Sonia
Elizabeth Soriano

Diana
Díaz Grijalba

Carlos
Alberto Rueda

Bernardo
Enrique Cardales

Alexandra
Bravo Restrepo

Juan
Alberto Vélez

Diana
Paola Padilla

Jhon
Jairo Rodriguez

Brayan
Ruiz

Jesús
Javier Hernández

Alejandro
Garcia Forero

Gustavo
Adolfo Echeverry

Carlos
Andrés Vélez

Yully
Arias Castillo

Oscar
Alberto Urrea

Odahir
Rolando Salcedo

Jimmy
Quejada Meneses

Natalia
Zartha Suárez

Josué
Leonardo Bohórquez

Mario
Andrés Cortés

Eric
Yovanny Martinez

Carolina
Torres Rodríguez

Juan
Mauricio García

Tag Cloud

.NET (9) 940px (1) Analysis Services mdx (1) An attempt was made to load a program with an incorrect format. (1) ASP.NET MVC (1) Azure (3) Backup (1) BAM (7) BAM API (1) BAMTraceException (2) BI (3) BizTalk (24) Business Intelligence (6) C# (2) caracteristicas de publicacion (2) Content Editor (3) ESB (15) ESB Toolkit (3) General (4) habilitar caracteristicas (3) indexes (2) Integration Services (2) Master Page (3) MDX (2) MSE (11) net.tcp (2) Office 365 (2) Oracle (2) Performance Point (2) Public Website (2) Receive Location (2) SDK (2) Servicio Web (2) Sharepoint 2010 (2) SharePoint 2013 (4) SharePoint Online (2) SOA (8) Soap Fault (2) Sort Months MDX (2) SQL Server (2) Visual (2) Visual Studio 2010 (2) WCF (19) Windows (3) Windows 8 (17)

Categories

  • .NET (33)
  • Analysis Services (1)
  • ASP.NET MVC (2)
  • Azure (7)
  • BAM (9)
  • BAM PrimaryImport (3)
  • BigData (1)
  • BizTalk (77)
  • BizTalk 2010 configurations (57)
  • BizTalk Application (60)
  • BizTalk Services (13)
  • Business Intelligence (4)
  • Cloud (3)
  • CMD (1)
  • CodeSmith – NetTiers (2)
  • CommandPrompt (1)
  • CRM OptionSet mapping component (1)
  • Desarrollo de software (6)
  • develop (6)
  • developers (3)
  • DropBox (1)
  • Dynamics (1)
  • Enterprise Architect (1)
  • Entity Framework (1)
  • Errores BizTalk (2)
  • ESB (27)
  • ETL (1)
  • Event Viewer (1)
  • Excel Services (1)
  • Foreach loop container (1)
  • General (4)
  • Gerencia de Proyectos (2)
  • Google (1)
  • Grouped Slices (1)
  • Human Talent (1)
  • IIS (4)
  • Integración (6)
  • Integration Services (3)
  • KingswaySoft (1)
  • Lync (1)
  • MSE (13)
  • Office 365 (2)
  • Oracle Data Adapter (2)
  • Performance Point (4)
  • Picklist (1)
  • Pivot Table (1)
  • Procesos (1)
  • Pruebas (1)
  • Public Website (2)
  • Reports (1)
  • SCRUM (1)
  • SDK (2)
  • SEO (1)
  • Servicios (2)
  • Sharepoint (9)
  • SharePoint 2010 (10)
  • SharePoint 2013 (4)
  • SharePoint Online (2)
  • SharpBox (1)
  • Shortcuts (1)
  • Sin categoría (1)
  • SOA (50)
  • SQL (5)
  • SQL Server (3)
  • SQL Server Management Studio (1)
  • SSIS (3)
  • SSL (1)
  • SSO (1)
  • Tracking Profile Editor (2)
  • Twitter (1)
  • Uncategorized (1)
  • Virtual Network (2)
  • Visual Studio 11 (1)
  • Visual Studio 2010 (2)
  • Visual Studio Online (1)
  • VMware (2)
  • WCF (24)
  • Web (1)
  • Web Api (1)
  • Windows (5)
  • Windows 8 (11)
  • Windows Azure (2)
  • Windows Live Write (1)
  • Windows Phone (7)
  • Windows Phone 8 (1)
  • Windows Scheduler (1)
  • windows8 (2)
  • WindowsRT (3)
  • WP7 SDK (1)

Manage

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org