iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

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

Copyright © 2025 · iT Synergy·

Consumir servicio web o WCF desde Biztalk
Consumir servicio web o WCF desde Biztalk avatar

October 23, 2012 By Jhon Jairo Rodriguez Leave a Comment

Para consumir un servicio web o WCF desde biztalk se debe realizar los siguientes pasos:

image

En un proyecto Biztalk hacer click derecho, seleccionar “Add” y hacer click en la opción Add Generated Itemsimage

Una vez realizada la anterior operación, aparece una ventana emergente para agregar el ítem que se desea generar, se selecciona la opción “Consume WCF Service” y click en el botón “Add”.

image

Después de hacer click sobre el botón “Add”, se presenta una ventana wizard en dos formas para el consumo del servicio web, así:

  • La primera opción “Metadata Exchange (MEX) endpoint” opera si se tiene y se puede acceder a la URL del servicio web o del WCF.
  • La segunda opción “Metadata Files (WSDL and XSD)”, aplica cuando se tiene el WSDL del servicio web o WCF, para los casos en que éste haga referencia a esquemas adicionales se deben adicionar éstos también.

Para nuestro ejemplo se selecciona la opción “Metadata Exchange (MEX) endpoint”, y se hace click sobre el botón “Next >”

image

Posteriormente se escribe la URL del servicio web o WCF y se hace click en el botón “Get”, luego de un momento se carga el servicio web y se habilita el botón “Next >”.

image

A continuación, se escribe el namespace del servicio y se hace click en el botón “import >>“

image

Una vez se ha finalizado la importación del servicio web o WCF, se crean archivos dependiendo del wsdl, en este caso genera, dos XML (la diferencia de estos dos es el tipo de transporte WCF-BasicHttp y WCF-Custom) que contienen el bindings del puerto que se comunica con el servicio web o WCF y XSD que son los contratos de los objetos que puede tener el servicio web o WCF y la orquestación que contiene los multi-part message types y Port types que se obtuvieron del servicio web o WCF

image

Para probar la invocación del servicio web o WCF, se crea una orquestación que está compuesta por un Receive Port (puerto de entrada), dos send Port(Servicio Web o WCF) y una transformación (Mapa que contiene esquema personalizado con el esquema de request del Servicio Web o WCF).

image

Después de hacer el Deploy de los artefactos (orquestaciones, mapas, esquemas) para crear el send port del servicio, se abre la consola administradora de BizTalk Server, en la aplicación donde se hizo el despliegue de los artefactos mencionados anteriormente, se hace clic derecho se selecciona “Import” y luego se hace clic sobre “Bindings”

image

Aparece una ventana emergente y se busca el binding que se generó al importar el servicio web o WSDL, una vez seleccionado se da clic en el botón “Open”.

image

Luego se va a los Send Port y se busca el puerto que consume el servicio Web o WCF.

image

La orquestación arranca con un puerto de entrada tipo file para este ejemplo la estructura es:

image

La respuesta que se obtiene con la invocación del WCF es:

image

NOTA: No siempre cuando se importa un WCF o un servicio web se obtiene el Send Port Físico que se comunica con el servicio, para estos casos lo que se debe hacer es crear el send Port desde la consola administrador BizTalk. Se debe tener en cuenta es Transport type, Address (URI) y el action.

image

Para armar el SOAP action, se debe tener la siguiente estructura:

<BtsActionMapping xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>

<Operation Name=”Nombre del método del servicio” Action=”ruta del método en el WSDL del servicio” />

<Operation Name=”consultarPersonaByIdentificacion” Action=”http://tempuri.org/IPersonas/consultarPersonaByIdentificacion” />

</BtsActionMapping>

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, SOA Tagged With: Servicio Web, WCF

Schema referenced by Map has been deleted. The local, cached version of the BizTalk Server group configuration is out of date. You must refresh the BizTalk Server group configuration before making further changes.
Schema referenced by Map has been deleted. The local, cached version of the BizTalk Server group configuration is out of date. You must refresh the BizTalk Server group configuration before making further changes. avatar

September 1, 2012 By Ana María Orozco Zuluaga Leave a Comment

Sometimes when you try to update the BizTalk group within the BizTalk console (BizTalk Server Administration Console) the following error windows comes up saying that the BizTalk Server group is out of date and you must refresh, but the really estrange thing is when you try to do it you simply can’t! and the same windows error still there and you can’t see the BizTalk Application you have deployed.

It happens when a map´s reference is lost and the console can display all the application which are into the BizTalk Group.

So, what you have to do is:

  • Search the reference of the map that the windows error is showing you in the Database and delete it.

The Database’s name is: BizTalkMgmtDb and the table’s name where the maps information is store is: bt_MapSpec.

Query to delete it:

DELETE

FROM [BizTalkMgmtDb].[dbo].[bt_MapSpec]

WHERE id = ‘Somenthing’

The table has some columns, the columns that you are looking for to find quickly the map are:

  • [indoc_docspec_name]
  • [outdoc_docspec_name]

These columns constains the reference location which the map is using for example:

  • Maps name: ConsultaInfraYTecnoGenerico_To_ConsultaInfraYTecnoNCAReq.btm

The reference location that contains the file maps has the schema reference the map has like the pictures below shows:

Those references are the ones you are going to find in the table mentioned before just like that:

Be careful and make sure you delete the right reference (The reference which is lost). To do it, I recommend you find a column which has the
unique value for each row. In this case you can use the Id column.

When you have already done it, you can try again to update and everything is going to work fine again. 🙂

Filed Under: BizTalk Application Tagged With: BizTalk, BizTalk Server Group, Schema referenced, Windows 8

Could not enlist Send Port ‘ALL.Exceptions’. Exception from HRESULT: 0xC00CE557 (Microsoft.BizTalk.ExplorerOM)
Could not enlist Send Port ‘ALL.Exceptions’. Exception from HRESULT: 0xC00CE557 (Microsoft.BizTalk.ExplorerOM) avatar

June 7, 2012 By Jaime Alonso Páez torres Leave a Comment

Problema

Después de instalar el ESB Toolkit 2.1 y al tratar de iniciar la aplicación Microsoft.Practices.ESB desde la consola de administración de BizTalk Server, no inicia correctamente porque el send port ALL.Exceptions no inicia correctamente.

Could not enlist Send Port ‘ALL.Exceptions’. Exception from HRESULT: 0xC00CE557 (Microsoft.BizTalk.ExplorerOM)

Solución

1. Desde el menu Configure.. de la aplicación Microsoft.Practices.ESB,  quitar la referencia del send port asociado a la orquestación Microsoft.Practices.ESB.Agents.Delivery.

2. Eliminar los send y receive ports que contiene la aplicación Microsoft.Practices.ESB

3. Importar los bindings  Microsoft.Practices.ESB.CORE_Bindings.xml ubicados en la ruta

  • C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit 2.1\Bindings

4. Volver a iniciar la aplicación Microsoft.Practices.ESB

Espero sirva ! 😉

Filed Under: BizTalk, BizTalk 2010 configurations, BizTalk Application, ESB Tagged With: BizTalk, ESB Toolkit

  • « Previous Page
  • 1
  • …
  • 3
  • 4
  • 5
  • 6
  • 7
  • …
  • 20
  • Next Page »

Team


Marco
Antonio Hernández

Jaime
Alonso Páez

Luis
Carlos Bernal

Ana
María Orozco

Juan
Camilo Zapata

Carlos
Alberto Rueda

Sonia
Elizabeth Soriano

Diana
Díaz Grijalba

Bernardo
Enrique Cardales

Alexandra
Bravo Restrepo

Juan
Alberto Vélez

Diana
Paola Padilla

Jhon
Jairo Rodriguez

Yully
Arias Castillo

Carlos
Andrés Vélez

Brayan
Ruiz

Jesús
Javier Hernández

Alejandro
Garcia Forero

Gustavo
Adolfo Echeverry

Josué
Leonardo Bohórquez

Oscar
Alberto Urrea

Odahir
Rolando Salcedo

Jimmy
Quejada Meneses

Natalia
Zartha Suárez

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