La descarga está en progreso. Por favor, espere

La descarga está en progreso. Por favor, espere

3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.

Presentaciones similares


Presentación del tema: "3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered."— Transcripción de la presentación:

1 3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Orcas También llamadas:
Orcinus orca (por los científicos) Ballena asesina (por las personas) Visual Studio (por Microsoft) Es una de las especies más grandes de la familia de delfines Se encuentra por todo el mundo, aunque principalmente en el océano Fuente: La enciclopedia Wikipedia, para más información

3 WCF y su relación con BTS { Sesión WCF a fondo }
3/24/2017 4:02 PM WCF y su relación con BTS { Sesión WCF a fondo } Israel Garcia / Pablo Junco App. & Plat. Development Consultants Microsoft Services © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 Prerequisitos de la sesión
Algunas experiencias básicas asumidas Windows Communication Foundation ;) BizTalk Server 2004/2006

5 Agenda Demostración todo junto Windows Communication Foundation (WCF)
3/24/2017 4:02 PM Agenda Windows Communication Foundation (WCF) Rápida visión Del ABC al RST Encaminamiento Seguridad Transacciones Integración y más allá Multi-Protocolos Otros escenarios (IPC) Demostración Relación con BizTalk Server 2006 R2 Conceptos principales Pues eso, como se relacionan Adaptadores de transporte de WCF para BizTalk Server Demostración todo junto Crucemos los dedos … para que haya tiempo ;) © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

6 Windows Communication Foundation (WCF)

7

8 3/24/2017 4:02 PM Rápida visión general Proporcionar una forma simple y potente de diseñar y desarrollar servicios Posibilita la independencia de los mecanismos de comunicaciones, seguridad, etc. Facilita la creación e integración de las soluciones basadas en SOA Interfaz Contratos Transacciones Comunicaciones Seguridad Servicios © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Del ABC al RST Comooooll!

10 outing (Encaminamiento)
3/24/2017 4:02 PM R outing (Encaminamiento) Encaminar para integrar y reutilizar Solo es requerido un punto de entrada Simplifica la extensión de arquitecturas SOA Patrones de aplicación Canal (Bus) de Mensajería Fachada Dos niveles de seguridad Consumición de servicios: Identidad del llamante Entrega de mensajes: Identidad del sistema La entrega no esta garantizada © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 Interfaz de encaminamiento
[RouteMatchFilterBehaviorAttribute()] [ServiceContract(SessionMode = SessionMode.Allowed)] interface IWS_Route { [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")] Message ProcessMessage(Message message); }

12 Servicio de encaminamiento
public Message ProcessMessage (Message message) { Uri Via = new Uri(“http://services_host/service1”); EndpointAddress LogicalEndpointAddress = new EndpointAddress("urn:mstx-routing"); WSHttpBinding binding = new WSHttpBinding(); ChannelFactory<IWS_Route> wsRouter = new ChannelFactory<IWS_Route>(binding); IWS_Route route = wsRouter.CreateChannel(LogicalEndpointAddress, Via); return route.ProcessMessage (message); }

13 S eguridad Posibilidades estándares (WS-S)
3/24/2017 4:02 PM S eguridad Posibilidades estándares (WS-S) Integrada (Kerberos) Certificados digitales (X509) Usuario y Contraseña Extensión base personalizada Distribuida e integrada con .NET © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Seguridad (Personalizada) Interfaz de encaminamiento
[RouteMatchFilterBehaviorAttribute()] [ServiceContract(SessionMode = SessionMode.Allowed)] interface IWS_Route { [OperationContract(IsOneWay = false, Action = "*", ReplyAction = "*")] Message ProcessMessage(Message message); }

15 Seguridad (Personalizada) Servicio de encaminamiento
public Message ProcessMessage (Message message) { Uri Via = new Uri(“http://services_host/service1”); EndpointAddress LogicalEndpointAddress = new EndpointAddress("urn:mstx-routing"); WSHttpBinding binding = new WSHttpBinding(); ChannelFactory<IWS_Route> wsRouter = new ChannelFactory<IWS_Route>(binding); IWS_Route route = wsRouter.CreateChannel(LogicalEndpointAddress, Via); return route.ProcessMessage (message); }

16 T Transacciones En el lado del servidor En el lado del cliente (WS-AT)
3/24/2017 4:02 PM T Transacciones En el lado del servidor Control de la vida de la transacción La sesión es requerida Independiente del llamante En el lado del cliente (WS-AT) Integrado con DTC y TransactionServices Coordinadores Transacciones compatibles con WS-AT © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Comunicaciones Múltiples canales Integración con otras tecnologías
3/24/2017 4:02 PM Comunicaciones Múltiples canales Servicios Web HttpBasicBinding WsHttpBinding RPC NetPipeBinding TcpBinding Colas de mensajería MSMQ Integración con otras tecnologías COM+ Streaming de datos utilizando TCP o NetPipes Peticiones asíncronas © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

18 Arquitectura de WCF (tiempo de ejecución)
Capa de Servicio Cliente Servicio Método Método Métodos Métodos Objetos Objetos Proxy Dispatcher Capa de Mensajería Mensaje Mensaje protocolo protocolo protocolo protocolo Cadena de datos en bytes codificación codificación transporte transporte Pila del canal Pila del canal

19 Enlaces (bindings) WCF
Nombre de clase Transporte Codificación del mensaje Versión del mensaje Modo de seguridad RM Flujo de Transaccion es * BasicHttpBinding HTTP Texto SOAP 1.1 Nada X WSHttpBinding SOAP 1.2 WS-A 1.0 Mensaje Desabilitado WS-AT NetTcpBinding TCP Binario SOAP 1.2 OleTx NetNamedPipes-Binding Named Pipes NetMsmqBinding MSMQ CustomBinding Tú decides Notas: X = No soportado, WS-A = WS-Addressing, WS-AT = WS-AtomicTransactions, OleTx = OleTransactions * Flujo de transacciones esta desabilitado por defecto, pero cuando se habilita, hay unos protocolos por defecto

20 demo { a jugar con WCF } 3/24/2017 4:02 PM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Relación de WCF con BizTalk Server 2006 R2

22 Proceso Centralizado Proceso Servicios Servicios SQL Server Clientes
3/24/2017 4:02 PM Proceso Centralizado Servicios Servicios Sistema RRHH Clientes SQL Server Proceso EDI / VAN CRM Operadores Logísticos Oracle HTTP SAP ERP Proveedores XML / SOAP MSMQ SWIFT / VAN Otros Sistemas Entidades Bancarias © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Solución conceptual Fuente Destino Otro sistema Un sistema Esquema
3/24/2017 4:02 PM Solución conceptual Transporte Transporte Un sistema Otro sistema Esquema Esquema Ruta Proceso Ruta Fuente Destino © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Un ejemplo Socio SAP A Socio B IDOC EDI XML Adaptador SAP
3/24/2017 4:02 PM Un ejemplo SAP Adaptador SAP IDOC Ruta Socio A Adaptador AS2 EDI Ruta Proceso Socio B WCF WS HTTP XML Ruta © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

25 Arquitectura de BizTalk Server
Gestión Configuración Administración Despliegue Monitorización Integración con Socios Informes Motor Principal Mensaje Contexto Contenido Principal Otras Partes Orquestaciones Mapas Gestión de Instancias y Activación Mecanismo de Suscripción/Publicación - Correlación MessageBox Procesamiento de Mensajes Validador (XML) Codificación MIME / SMIME AS2 EDI A Medida Resolución de socios Ensamblador (Planos, XML) Desamblador (Planos, XML)) Reglas Negocio Vocabularios Políticas Acciones Reglas Hechos Adaptadores de Recepción y Envío FTP FILE POP3 SMTP MSMQ WCF HTTP SOAP Productos (SQL, SAP, MOSS, …) De Terceros A Medida

26 Presentación adaptadores de WCF
Completan el puente entre BizTalk Server y .NET 3.0 Uso similar a cualquier otro adaptador Creación de puertos de salida y localizaciones de entrada Seleccionar el adaptador WCF como transporte Configurar el adaptador para ajustar WCF Configuración almacenada en SSO

27 Conjunto de adaptadores WCF
Nombre del Adaptador WCF Binding Cuando utilizarlo WCF-BasicHttp BasicHttpBinding Necesidad de interoperar con servicios básicos de WS-I Basic Profile 1.1 WCF-WSHttp WSHttpBinding Necesidad de interoperar con servicios avanzados que implementen protocolos WS-* WCF-NetTcp NetTcpBinding Cuando se necesita interactuar de forma eficiente en la máquina con aplicaciones WCF WCF- NetNamedPipe NetNamedPipe-Binding Cuando se necesita interactuar de forma eficiente entre máquinas con aplicaciones WCF WCF-NetMsmq NetMsmqBinding En comunicaciones asíncronas con otras aplicaciones WCF que requieren durar WCF-Custom Cualquiera Cuando es necesario definir una configuración de enlace (binding) personalizada para un BTS HOST marcado como “In Process” WCF- CustomIsolated Cuando es necesario definir una configuración de enlace (binding) personalizada para un BTS HOST marcado como “Isolated”

28 Arquitectura del adaptador WCF
Áreas claves a entender Contratos genéricos del adaptador WCF Arquitectura de envío (Consumo) Arquitectura de recepción (Publicación) Exposición de metadatos de servicio Opciones de seguridad y transacciones Configuraciones del adaptador Custom Integración con orquestaciones

29 Arquitectura de envío Envía mensajes utilizando el canal de WCF
El canal es dinámicamente creado por el adaptador Un contrato genérico es utilizado Hay que especificar la acción Solo es compatible con operaciones de doble sentido (two-way) A no ser que se utilice NetMsmqBinding

30 Arquitectura de recepción
Recibe mensajes utilizando un canal WCF Un solo ServiceHost por cada localización de recepción definida Basada en BizTalkServiceInstance Alojada en proceso (servicio de BizTalk: BtsNtSvc.exe) o aislado (IIS) El canal es creado de forma dinámica por el adaptador Un contrato genérico es utilizado La implementación del servicio publica los mensajes recibidos al MessageBox Solo soporta operaciones de doble sentido A no ser que se utilice NetMsmqBinding

31 BizTalk en acción Puerto de recepción Message Box
Localización de recepción Adaptador de recepción de WCF Preprocesado (Pipelines) Mapas BizTalkServiceInstance Pila del canal decodificar mapa desensamblar transporte Mensaje WCF mapa SOAP Body Element validar codificador resolver al socio mapa protocolo protocolo Mensaje SOAP Body Element Mensaje BizTalk Mensaje BizTalk Dispatcher Decidir que parte del mensaje se quiere enviar Publicación Message Box

32 demo { todo junto } 3/24/2017 4:02 PM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 anuncio { un evento Web } 3/24/2017 4:02 PM
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34 Webcast de WCF y BTS Objetivo Audiencia ¿Cuando? ¿Donde registrarse?
3/24/2017 4:02 PM Webcast de WCF y BTS Objetivo 2 horas de sesión MUY técnica para entender los escenarios de WCF (con ejemplos), así como su relación con BizTalk Server 2006 R2 Audiencia Profesionales de IT Preventas técnicos Quien quiera… ¿Cuando? El 13 de Marzo de 2008 a las 16:00 h ¿Donde registrarse? En este enlace © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

35 Algunas referencias Windows Communication Foundation (WCF)
3/24/2017 4:02 PM Algunas referencias Windows Communication Foundation (WCF) Whitepaper de David Chappell (en inglés) Encaminamiento Seguridad Transacciones BizTalk Server 2006 R2 Sitio de producto en España Adaptadores de WCF (en inglés) Seguridad WCF LOB Adapter SDK Todo junto Integración © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

36 http://blogs.technet.com/Israelg israelg@microsoft.com
Gracias  Q & A

37 3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Descargar ppt "3/24/2017 4:02 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered."

Presentaciones similares


Anuncios Google