iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

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

Copyright © 2026 · iT Synergy·

Rename a Machine with BizTalk 2009 (Applies to BizTalk 2010) and ESB Toolkit

January 10, 2011 By Marco Antonio Hernández Prado Leave a Comment

Una de los temas más complicados cuando desarrollamos con BizTalk es el manejo de los ambientes de desarrollo para el equipo del proyecto, normalmente nuestro equipo de trabajo no debe volver a hacer el ambiente de BizTalk pero si renombrar la Máquina Virtual, aquí mostramos los pasos de modo light para realizar esta tarea:

BizTalk

En la herramienta de BizTalk Configuration Wizard debemos desconfigurar todo BizTalk, incluyendo SSO

SQL Server

Para SQL Server además de estos pasos que mostramos debemos realizar los pasos que recomiendan para cambio de nombre en SQL Server:

  • How to: Rename a Computer that Hosts a Stand-Alone Instance of SQL Server – http://msdn.microsoft.com/en-us/library/ms143799.aspx
  • Renaming a Report Server Computer – http://msdn.microsoft.com/en-us/library/ms345235.aspx

Debemos ir a Notification Services y deshabilitar BAMAlerts y después eliminarla

 

En el administrador de SQL ir a bases de Datos y Borrar las siguientes:

  • BAMAlertsApplication
  • BAMAlertsNSMain
  • BAMArchive
  • BAMPrimaryImport
  • BAMStarSchema
  • BizTalkDTADb
  • BizTalkMgmtDb
  • BizTalkMsgBoxDb
  • BizTalkRuleEngineDb
  • SSODB

 

Borrar los siguientes Windows Logins de la Base de Datos:

  • BizTalk Application Users
  • BizTalk Isolated Users
  • BizTalk Server Administrators
  • BizTalk Server Operators
  • SSO Administrators

 

 

Después de Ejecutar Estos pasos debemos reiniciar el equipo

BizTalk – Configuración

Debemos ir a la consola de BizTalk a volver a realizar la configuración de BizTalk típica

 

 

ESB Toolkit

Temas a tener en cuenta:

  • Borrar Bases de Datos de ESB Toolkit
  • Reinstalar el ESB Toolkit
  • Desconfigurar UDDI (Eliminar AppPool UDDI)
  • Ejecutar de nuevo Microsoft.Practices.ESB.UDDIPublisher
  • El servicio de Notificaciones del ESB correrlo con usuario valido
  • Al iniciar BRE para hacer los deployment de Vocabularios y Políticas cambiarle el nombre al servidor de BizTalk a conectarse

 

Referencias: http://randomdust.com/blogs/ryan/archive/2007/04/27/rename-biztalk-2006-server-details.aspx

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, develop, developers, ESB

Manage DataEntities in Managed Service Engine

January 10, 2011 By Marco Antonio Hernández Prado Leave a Comment

En varios clientes hemos encontrado el siguiente escenario, “se debe actualizar el servicio virtualizado ya que servicio original cambió, se virtualiza el servicio con la operación actualizada pero el servicio virtualizado no cambia”:

Para hacer más sencilla la explicación voy a realizar el ejemplo con un servicio mock generado para pruebas. Este servicio tiene una operación llamada AddNumbers esta operación tiene un MessageContract llamado NumberRequest y este tiene un DataContract llamado Numbers, la operación AddNumbers retorna un DataContract NumbersResponse. Este DataContract  en MSE se puede Visualizar en el Layout DataEntity Management.

 

Servicio visto con WCF Test Client con la operación AddNumbers, en esta podemos observar que obtiene el contrato Numbers, este tiene dos propiedades: Number1 y Number2

En MSE en el Layout DataEntity Management las podemos visualizar así:

Cambio en el Servicio

En el día a día nuestros servicios van cambiando tanto en sus operaciones como en sus contratos, en un mundo ideal deberíamos realizar cambios en los namespaces cuando cambie un contrato en un servicio, pero desafortunadamente así no es, en el mundo real de SOA MSE nos colabora con la administración de estas entidades (Contratos), primero veamos la actualización del Servicio WCF, esta fue hecha de una vez al contrato si haber realizado cambio alguno en el servicio o en el namespace.

 

 

Como hemos identificado que cambio el contrato, en el MSE lo que hacemos es una importación de schemas, no es necesario realizar importación de operaciones o de recursos.

 

Aquí seleccionamos Import Schemas

Seleccionamos los esquemas o esquema a importar, para nuestro caso vamos a seleccionarlos todos:

 

 

Después de la importación Exitosa, vamos al Menú Tools-Manage Service Model Components-Data Entities

 

En el menú desplegable seleccionamos el schema que queremos actualizar, para nuestro caso el schema numbers que está en el namespace http://xxxx/guidances/mockservices/datacontracts/numbers/1.0, seleccionamos la entidad de Tipo Complejo (Complex Type)

 

Si hay más de una versión(revisión)de esta entidad MSE nos muestra está información por fechas, aquí podemos ver que en la revisión del 1/11/2011 1:00:28 AM la entidad Numbers tiene dos propiedades, Number1 y Number2

image

La revisión Latest Revision la entidad Numbers tiene tres propiedades, Number1, Number2 y Number3, esta revisión es la que vamos a seleccionar

Seleccionamos Update Revision Reference

 

 

Aquí visualizamos que revisión hemos seleccionado:

En la pestaña Update References seleccionamos por cual revisión vamos a reemplazar la que seleccionamos, en este caso vamos a reemplazar la revisión Latest revision por la revisión 1/11/2011 1:00:28 AM

 

 

Cuando finalizamos el registro del Schema lo que sucede al final es la actualización de la Tabla SchemaObjectDependencies, cambia la asociación entre las columnas SchemaObjectID y ParentObjectID, después de la importación podemos reiniciar los servicios de MSE Runtime y hacer la actualización del Servicio expuesto por el MSE

 

Aquí volvemos a realizar el llamado por medio del WCF Test Client y ya vemos actualizada la entidad con el cambio solicitado

 

Filed Under: .NET, MSE, WCF

The BizTalk Adapter for Oracle Database – Making Polling work

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

  • « Previous Page
  • 1
  • …
  • 88
  • 89
  • 90
  • 91
  • 92
  • …
  • 112
  • Next Page »

Blog Authors

avatar for Marco Antonio Hernández PradoMarco Antonio Hernández Prado
avatar for Jaime Alonso Páez torresJaime Alonso Páez torres
avatar for Luis Carlos Bernal ÁvilaLuis Carlos Bernal Ávila
avatar for Ana María Orozco ZuluagaAna María Orozco Zuluaga
avatar for Juan Camilo Zapata MontúfarJuan Camilo Zapata Montúfar
avatar for Sonia Elizabeth Soriano ContrerasSonia Elizabeth Soriano Contreras
avatar for Diana Díaz GrijalbaDiana Díaz Grijalba
avatar for Carlos Alberto Rueda ValenzuelaCarlos Alberto Rueda Valenzuela
avatar for Bernardo Enrique Cardales AcuñaBernardo Enrique Cardales Acuña
avatar for Alexandra Bravo RestrepoAlexandra Bravo Restrepo
avatar for Juan Alberto Vélez CasadiegoJuan Alberto Vélez Casadiego
avatar for Jhon Jairo RodriguezJhon Jairo Rodriguez
avatar for Diana Paola Padilla BeltránDiana Paola Padilla Beltrán
avatar for Alejandro Garcia ForeroAlejandro Garcia Forero
avatar for Gustavo Adolfo Echeverry LópezGustavo Adolfo Echeverry López
avatar for Jesús Javier Hernández LópezJesús Javier Hernández López
avatar for Yully Arias CastilloYully Arias Castillo
avatar for Brayan RuizBrayan Ruiz
avatar for Carlos Andrés Vélez CasadiegoCarlos Andrés Vélez Casadiego
avatar for Odahir Rolando Salcedo TangarifeOdahir Rolando Salcedo Tangarife
avatar for Josué Leonardo Bohórquez MorenoJosué Leonardo Bohórquez Moreno
avatar for Natalia Zartha SuárezNatalia Zartha Suárez
avatar for Oscar Alberto Urrea MartinezOscar Alberto Urrea Martinez
avatar for Jimmy Quejada MenesesJimmy Quejada Meneses
avatar for Carolina Torres RodríguezCarolina Torres Rodríguez
avatar for Mario Andrés CortésMario Andrés Cortés
avatar for Juan Mauricio García TorresJuan Mauricio García Torres
avatar for Eric Yovanny Martinez GonzalezEric Yovanny Martinez Gonzalez

Categories

  • .NET (41)
  • Analysis Services (1)
  • ASP.NET MVC (3)
  • Azure (30)
  • BAM (10)
  • BAM PrimaryImport (3)
  • BigData (1)
  • BizTalk (97)
  • BizTalk 2010 configurations (57)
  • BizTalk Application (60)
  • BizTalk Services (15)
  • Business Intelligence (6)
  • Cloud (3)
  • CMD (1)
  • CodeSmith – NetTiers (2)
  • CommandPrompt (1)
  • CRM OptionSet mapping component (1)
  • Desarrollo de software (7)
  • develop (6)
  • developers (3)
  • DropBox (1)
  • Dynamics (2)
  • Enterprise Architect (1)
  • Entity Framework (1)
  • Errores BizTalk (2)
  • ESB (31)
  • ETL (1)
  • Event Viewer (1)
  • Excel Services (1)
  • Foreach loop container (1)
  • General (6)
  • Gerencia de Proyectos (2)
  • Google (1)
  • Grouped Slices (1)
  • Human Talent (1)
  • IIS (4)
  • Integración (8)
  • Integration Services (3)
  • KingswaySoft (1)
  • Lync (4)
  • MSE (13)
  • Office 365 (9)
  • Oracle Data Adapter (4)
  • 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 (10)
  • SQL Server (3)
  • SQL Server Management Studio (1)
  • SSIS (3)
  • SSL (3)
  • SSO (2)
  • Tracking Profile Editor (2)
  • Twitter (1)
  • Uncategorized (1)
  • Virtual Network (10)
  • Visual Studio 11 (1)
  • Visual Studio 2010 (3)
  • Visual Studio Online (7)
  • VMware (4)
  • WCF (28)
  • Web (2)
  • Web Api (3)
  • Windows (8)
  • Windows 8 (11)
  • Windows Azure (3)
  • Windows Live Write (1)
  • Windows Phone (10)
  • Windows Phone 8 (1)
  • Windows Scheduler (1)
  • windows8 (2)
  • WindowsRT (3)
  • WP7 SDK (1)

Manage

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