SlideShare uma empresa Scribd logo
1 de 46
Birds of the Same Feather –
BizTalk and WCFK.Meena
              Director
              SymIndia Training & Consultancy Pvt Ltd
              Session Code:
Agenda
 Overview
    WCF
    BizTalk
 WCF-BizTalk Integration
 Integration Scenarios
    WCF Send Adapters
    WCF Receive Adapters
    Specific Use cases
Objectives & Pre-requisites
Objectives
  Focus on Integration issues
  Present many scenarios of integration

Pre-requisites
  Knowledge in designing and developing with
    WCF
    BizTalk
Agenda
 Overview
    WCF
    BizTalk
 WCF-BizTalk Integration Architecture
 Integration Scenarios
    WCF Send Adapters
    WCF Receive Adapters
    Specific Use cases
WCF Service

    ‘Client’           Message (SOAP)                 ‘Service’
                          Message
               Headers: Addressing, Security, etc

                             Message
               Body: Payload

                                                    Metadata



  Services pass messages described by a contract
  Service may provide metadata
     Describing the contract
     Describing the policy it applies to communication
Mechanics of Communication


  ‘Client’                           ‘Service’
               What do I send?
                 Contract

             Where do I send it?
                 Address

             How should I send it?
                   Binding
                  Security?
                  Encoding?
                  Transport?
Mechanics of Communication


  ‘Client’                                    ‘Service’

      Endpoint                        Endpoint
   Address   Binding   Contract   Address    Binding    Contract


                                      Endpoint
                                   Address    Binding    Contract
WCF Runtime Architecture
Agenda
 Architectural Overview
    WCF
    BizTalk
 WCF-BizTalk Integration
 Integration Scenarios
    WCF Send Adapters
    WCF Receive Adapters
    Specific Use cases
BizTalk Message Flow
             XML,                                                      XML,
             Flat File,                                            Flat File,
             Binary                    Orchestration                 Binary


                    Receive Port                       Send Port Group (optional)

              Receive Location                         Send Port
Receive                                                                          Send
Adapter                                                                         Adapter

                             Resolve                                  Sign
          Decrypt    Parse                             Serialize
                              Party                                  Encrypt


              Receive Pipeline            XML           Send Pipeline



          Tracking                     Message Box                    Management
          Database                      Database                       Database
Agenda
 Architectural Overview
    WCF
    BizTalk
 WCF-BizTalk Integration
 Integration Scenarios
    WCF Send Adapters
    WCF Receive Adapters
    Specific Use cases
WCF and BizTalk Server Together

                          Bid
                       Evaluation



      Order                                   Capacity
   Placement            BizTalk               Planning
                        Server




            Order                     Job
           Receiving                Costing
Integration – How?
 BizTalk Extensibility Point
    Adapter Framework
 WCF send and receive facilities are exposed (
 to and from) BizTalk
    through a set of adapters
Channel Stack
                Channel Stack


               WCF Service Host
              WCF ServiceHost

                  Operation /
                  Operation /           BizTalk WCF
                Receive Location
               Receive Location         Receive Adapter


                BizTalkPipeline
                BizTalk Pipeline




Message Box
                                   Orchestrations




               BizTalkPipeline
               BizTalk Pipeline
                                                          WCF as Adapter for BizTalk




                  Send Port
                  Send Port

                 WCF Client
                 WCF Client
                                          BizTalk WCF
                                          Send Adapter




                 Channel Stack
                Channel Stack
WCF as Adapter for BizTalk
 Seven traditional BizTalk adapters
   WCF-BasicHttp
   WCF-WsHttp
   WCF-NetTcp
   WCF-NetMsmq
   WCF-NetNamedPipe
   WCF-Custom
   WCF-CustomIsolated
 UI Ensures ease of use and minimizes potential
 for mis-configuration
The Flow
Complementary Support
WCF
   platform for building services on Windows
   Support for Standard communication protocols for
   services on Windows

BizTalk
   Standards based Integration and BPM Server for
   Windows
   Infrastructure for orchestrating and extending WCF
   services
Use Cases
 Exposing BizTalk orchestration as a WCF service
 Consuming a WCF service from BizTalk
 orchestration
 Transactional Receive and Send
 Using Headers
    WS-* headers for routing and message processing
    Custom headers
 Using BizTalk as SOAP intermediary
Use Cases
 Using custom binding elements
 Using custom bindings
 Using BizTalk dynamic send ports
 Consuming a WCF Service originating from
 WCF-LOB Adapter (SAP, Siebel, Oracle DB, and
 Tibco RV)
Integration Made Easy
 Publishing wizard
   Publish WCF http service in IIS
   Publish metadata for in-proc or out-of-proc
   adapter to IIS
 Consuming wizard
   Create message and port types
   Create a proxy equivalent
     Bindings file
     Operation to action mapping
Agenda
 Overview
    WCF
    BizTalk
 WCF-BizTalk Integration
 Integration Scenarios
    WCF Send Adapters
    WCF Receive Adapters
    Specific Use cases
Scenario: Consuming WCF
Service            Endpoint
                                          Address   Binding   Contract
                                                                    Order
                 Send Port Config.
                                      Contract
                                                                    Service
                  Address   Binding
 BizTalk                                                            (WCF)
Messaging
                                         BasicHttpBinding




 Schema Info,
 Send Port Config. Info       WCF Service
                            Consuming Wizard
BizTalk Consuming WCF Service
 K. Meena
 Director
 SymIndia Training & Consultancy Pvt Ltd
Scenario: Publish Orchestration
as WCF Service
            Receive Lcation Config.
                                                        WCF Client
               Address Binding Contract
  BizTalk
Orchestration
            BasicHttpBinding              Proxy
                                          ABC Details

                                                        SVC Util


              WCF Service                                 Endpoint
            Publishing Wizard                              Info
                                                          in IIS
Orchestration as WCF Service
 K. Meena
 Director
 SymIndia Training & Consultancy Pvt Ltd
Scenario Requirement
 Client App coordinates a Distributed
 Transaction
    WCF as Resource Manager
    BizTalk WCF Receive Adapter as RM

 Transaction committed only when
    WCF service commits
    BizTalk WCF adapter commits

 Usage of Custom Pipeline component to abort
 transactions
Scenario: Distributed
Transactioning
   Transactions start and end at the message box
         Transaction Boundary                 Transaction Boundary



Client   WCF Adapter                                WCF Adapter      App




                 publish                       subscribe




                                Message Box
Distributed Transactioning
   Transactions start and end at the message box
         Transaction Boundary                 Transaction Boundary



Client   WCF Adapter                                WCF Adapter      App




                                Message Box
Transaction Commited

    Start Txn
     Commit                                     Archiving

 Place Order Client

                            Commit            Queue

                      BizTalk Server R2 WCF
                              Adapter

    Commit

   WCF Service
Transaction Aborted

      Abort
     Start Txn
                                            Archiving
 Place Order Client
                          Abort
                          Commit          Queue

                      BizTalk Server R2
                       w/WCF Adapter

      Abort

   WCF Service
Distributed Transactioning
 K. Meena
 Director
 SymIndia Training & Consultancy Pvt Ltd
Scenario
 Existing WCF Service
    TransactionFlow is mandatory
    TransactionScope is required for “PlaceOrder” method
 ‘PlaceOrder’ method
    If message header “BeginNewPO” exists, create a key
    randomly and insert PO into PO table
    Otherwise, Insert lineItem details in message to PODetails
    table

 BizTalk Send Port emits a single document
    PO master details
    Multiple PO LineItem details
Requirement
 Need to split the single BizTalk document
    Create WCF message with header for PO master
    details
    Create Multiple WCF messages, one for each Line
    item

 Initiate a transaction
 As part of the same transaction
    Send WCF message with PO header
    Send WCF messages for each Line Item
Solution
 Create a Custom Binding Element in WCF
    WCF Message Interception
    Split WCF Message into
      Single message for Order header
      Multiple messages , one for every Line Item in the order
      Submit the messages one by one

 Create a Custom Binding in BizTalk Send Port
    Use WCF-Custom adapter
    Configure binding
      Custom Interceptor, Transaction Flow
      Encoder
      Transport
Scenario: Custom Binding
Element
               Send Port Config.
             Address     Custom
                         Custom       Contract   WCF Service
                          Binding
 BizTalk
                     WCF-Custom
Messaging           Inproc adapter
                   CustomBinding=
                 WCFMsgInterceptor,
                   TransactionFlow
                 Text Msg Encoding,
                    Http Transport               SVC Util

                                                   Endpoint
              WCF Service                           Info
            Consuming Wizard                       in IIS
WCF Adapter configured with
Custom Binding Element
K. Meena
Director
SymIndia Training & Consultancy Pvt Ltd
Requirement
 Orchestration exposed as a WCF service
 endpoint
 Secured Access to a BizTalk Receive Location
    Configurable Windows groups



              Write a WCF Custom Behaviour and
       use it while configuring BizTalk Receive location
Scenario: Custom Behaviour

            Receive Location Config.         Custom Behavior
           Address    WSHttop    Contract Behavior        WCF Client
                                             For access check
  BizTalk             Binding

Orchestration
WCF Adapter with Custom Behavior
  K. Meena
  Director
  SymIndia Training & Consultancy Pvt Ltd
Summary
 By themselves, WCF and BizTalk add significant
 value
 Integrating them provides enhances the value
 Leveraging Scenarios
   WS-* standards support of WCF in BizTalk
   WCF extensibility scenarios are easy configurable in
   BizTalk
   BizTalk as a Broker for WCF Services to
   communicate
Related Content
 Solving Enterprise Integration Challenges with
 BizTalk
 Tuning BizTalk Server 2009 for Better
 Performance
 The Intricacies of Enterprise Integration : SOA
 vs. ESB
Resources
 http://www.microsoft.com/downloads/details.aspx?familyid=a9
 76dc7d-2296-4f88-be4d-0d314fca9e59&displaylang=en&tm
 http://www.microsoft.com/downloads/details.aspx?displaylang
 =en&FamilyID=13d6121d-c82b-4614-a160-7c88bcc037b7
 http://seroter.wordpress.com/2008/01/31/article-series-on-
 biztalk-and-wcf-part-i-operation-patterns/
 http://www.microsoft.com/downloads/details.aspx?familyid=7
 0BADD79-CE7E-4CCB-BE5C-3FF74CA3A8C4&displaylang=en
 http://msdn.microsoft.com/en-us/library/cc952299.aspx
 http://msdn.microsoft.com/en-us/library/dd379134.aspx
 http://msdn.microsoft.com/en-us/library/cc950532.aspx
 http://msdn.microsoft.com/en-us/library/bb967002.aspx
Track Resources
Resource 1



Resource 2



Resource 3



Resource 4
© 2009 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.

Mais conteúdo relacionado

Mais procurados

Top wcf interview questions
Top wcf interview questionsTop wcf interview questions
Top wcf interview questionstongdang
 
Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Lai Yoong Seng
 
Adaptive SLA-aware Cloud Federations
Adaptive SLA-awareCloud FederationsAdaptive SLA-awareCloud Federations
Adaptive SLA-aware Cloud Federationskeratt
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCFybbest
 
Integrated services and RSVP - Protocol
Integrated services and RSVP - ProtocolIntegrated services and RSVP - Protocol
Integrated services and RSVP - ProtocolPradnya Saval
 
D06 bpel v3
D06 bpel v3D06 bpel v3
D06 bpel v3qqq8
 
Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Johnson Liu
 
Network Virtualization with quantum
Network Virtualization with quantum Network Virtualization with quantum
Network Virtualization with quantum openstackindia
 
Kubernetes Istio Miami meetup
Kubernetes Istio Miami meetupKubernetes Istio Miami meetup
Kubernetes Istio Miami meetupDustin Humphries
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network MechanicsKiran Murari
 
Performance and Fault Tolerance for the Netflix API
Performance and Fault Tolerance for the Netflix API Performance and Fault Tolerance for the Netflix API
Performance and Fault Tolerance for the Netflix API Ben Christensen
 
Quantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewQuantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewDan Wendlandt
 
Scvmm 2012 (maarten wijsman)
Scvmm 2012 (maarten wijsman)Scvmm 2012 (maarten wijsman)
Scvmm 2012 (maarten wijsman)hypervnu
 
OpenStack Quantum Network Service
OpenStack Quantum Network ServiceOpenStack Quantum Network Service
OpenStack Quantum Network ServiceLew Tucker
 

Mais procurados (20)

Top wcf interview questions
Top wcf interview questionsTop wcf interview questions
Top wcf interview questions
 
Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012
 
cinder-agent
cinder-agentcinder-agent
cinder-agent
 
Adaptive SLA-aware Cloud Federations
Adaptive SLA-awareCloud FederationsAdaptive SLA-awareCloud Federations
Adaptive SLA-aware Cloud Federations
 
Introduction to WCF
Introduction to WCFIntroduction to WCF
Introduction to WCF
 
Session9part2 Servers Detailed
Session9part2  Servers DetailedSession9part2  Servers Detailed
Session9part2 Servers Detailed
 
Integrated services and RSVP - Protocol
Integrated services and RSVP - ProtocolIntegrated services and RSVP - Protocol
Integrated services and RSVP - Protocol
 
D06 bpel v3
D06 bpel v3D06 bpel v3
D06 bpel v3
 
Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)Virtual Private LAN Service (VPLS)
Virtual Private LAN Service (VPLS)
 
Network Virtualization with quantum
Network Virtualization with quantum Network Virtualization with quantum
Network Virtualization with quantum
 
Kubernetes Istio Miami meetup
Kubernetes Istio Miami meetupKubernetes Istio Miami meetup
Kubernetes Istio Miami meetup
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network Mechanics
 
What's new in Wcf4
What's new in Wcf4What's new in Wcf4
What's new in Wcf4
 
AMQP 1.0 introduction
AMQP 1.0 introductionAMQP 1.0 introduction
AMQP 1.0 introduction
 
MSB Deep Dive
MSB Deep DiveMSB Deep Dive
MSB Deep Dive
 
OpenStack Quantum
OpenStack QuantumOpenStack Quantum
OpenStack Quantum
 
Performance and Fault Tolerance for the Netflix API
Performance and Fault Tolerance for the Netflix API Performance and Fault Tolerance for the Netflix API
Performance and Fault Tolerance for the Netflix API
 
Quantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewQuantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer Overview
 
Scvmm 2012 (maarten wijsman)
Scvmm 2012 (maarten wijsman)Scvmm 2012 (maarten wijsman)
Scvmm 2012 (maarten wijsman)
 
OpenStack Quantum Network Service
OpenStack Quantum Network ServiceOpenStack Quantum Network Service
OpenStack Quantum Network Service
 

Destaque

Verf&Wand C
Verf&Wand CVerf&Wand C
Verf&Wand Cbiggelaar
 
Harish Aspnet Deployment
Harish Aspnet DeploymentHarish Aspnet Deployment
Harish Aspnet Deploymentrsnarayanan
 
Kevin Ms Web Platform
Kevin Ms Web PlatformKevin Ms Web Platform
Kevin Ms Web Platformrsnarayanan
 

Destaque (6)

Verf&Wand C
Verf&Wand CVerf&Wand C
Verf&Wand C
 
Harish Aspnet Deployment
Harish Aspnet DeploymentHarish Aspnet Deployment
Harish Aspnet Deployment
 
Walther Aspnet4
Walther Aspnet4Walther Aspnet4
Walther Aspnet4
 
Kevin Ms Web Platform
Kevin Ms Web PlatformKevin Ms Web Platform
Kevin Ms Web Platform
 
Walther Ajax4
Walther Ajax4Walther Ajax4
Walther Ajax4
 
Mevia.- Elearning Platform
Mevia.- Elearning Platform Mevia.- Elearning Platform
Mevia.- Elearning Platform
 

Semelhante a Birds Of The Same Feather   Biz Talk Server And Wcf

Biz talk summit 2013 - The new cloud related adapters
Biz talk summit 2013 - The new cloud related adaptersBiz talk summit 2013 - The new cloud related adapters
Biz talk summit 2013 - The new cloud related adaptersBizTalk360
 
Building a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioBuilding a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioSAMIR BEHARA
 
Real time event feeds with NServiceBus and SignalR
Real time event feeds with NServiceBus and SignalRReal time event feeds with NServiceBus and SignalR
Real time event feeds with NServiceBus and SignalRRoy Cornelissen
 
WCF LOB SDK from CodeMastery
WCF LOB SDK from CodeMasteryWCF LOB SDK from CodeMastery
WCF LOB SDK from CodeMasteryclineer
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorialAbhi Arya
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCFBarry Dorrans
 
BizTalk Custom Adapters Toronto Code Camp Presentation
BizTalk Custom Adapters  Toronto Code Camp PresentationBizTalk Custom Adapters  Toronto Code Camp Presentation
BizTalk Custom Adapters Toronto Code Camp PresentationMoustafaRefaat
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Storyukdpe
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)ipower softwares
 
Architectures with Windows Azure
Architectures with Windows AzureArchitectures with Windows Azure
Architectures with Windows AzureDamir Dobric
 
Basics of WCF and its Security
Basics of WCF and its SecurityBasics of WCF and its Security
Basics of WCF and its SecurityMindfire Solutions
 
WCF LOB SDK at CNUG
WCF LOB SDK at CNUGWCF LOB SDK at CNUG
WCF LOB SDK at CNUGclineer
 

Semelhante a Birds Of The Same Feather   Biz Talk Server And Wcf (20)

WCF
WCFWCF
WCF
 
Biz talk summit 2013 - The new cloud related adapters
Biz talk summit 2013 - The new cloud related adaptersBiz talk summit 2013 - The new cloud related adapters
Biz talk summit 2013 - The new cloud related adapters
 
Net Services
Net ServicesNet Services
Net Services
 
Wcf
WcfWcf
Wcf
 
Building a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istioBuilding a scalable microservice architecture with envoy, kubernetes and istio
Building a scalable microservice architecture with envoy, kubernetes and istio
 
Real time event feeds with NServiceBus and SignalR
Real time event feeds with NServiceBus and SignalRReal time event feeds with NServiceBus and SignalR
Real time event feeds with NServiceBus and SignalR
 
Building Scalable and Robust Solutions with Service Bus in Cloud and Server
Building Scalable and Robust Solutions with Service Bus in Cloud and ServerBuilding Scalable and Robust Solutions with Service Bus in Cloud and Server
Building Scalable and Robust Solutions with Service Bus in Cloud and Server
 
WCF LOB SDK from CodeMastery
WCF LOB SDK from CodeMasteryWCF LOB SDK from CodeMastery
WCF LOB SDK from CodeMastery
 
WCF tutorial
WCF tutorialWCF tutorial
WCF tutorial
 
10 Tricks and Tips for WCF
10 Tricks and Tips for WCF10 Tricks and Tips for WCF
10 Tricks and Tips for WCF
 
BizTalk Custom Adapters Toronto Code Camp Presentation
BizTalk Custom Adapters  Toronto Code Camp PresentationBizTalk Custom Adapters  Toronto Code Camp Presentation
BizTalk Custom Adapters Toronto Code Camp Presentation
 
Session 1: The SOAP Story
Session 1: The SOAP StorySession 1: The SOAP Story
Session 1: The SOAP Story
 
MQ Messaging
MQ MessagingMQ Messaging
MQ Messaging
 
WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)WCF (Windows Communication Foundation)
WCF (Windows Communication Foundation)
 
WCF for begineers
WCF  for begineersWCF  for begineers
WCF for begineers
 
Architectures with Windows Azure
Architectures with Windows AzureArchitectures with Windows Azure
Architectures with Windows Azure
 
Basics of WCF and its Security
Basics of WCF and its SecurityBasics of WCF and its Security
Basics of WCF and its Security
 
07 advanced topics
07 advanced topics07 advanced topics
07 advanced topics
 
WCF LOB SDK at CNUG
WCF LOB SDK at CNUGWCF LOB SDK at CNUG
WCF LOB SDK at CNUG
 
Wcf Overview
Wcf OverviewWcf Overview
Wcf Overview
 

Mais de rsnarayanan

Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnetrsnarayanan
 
Harish Aspnet Dynamic Data
Harish Aspnet Dynamic DataHarish Aspnet Dynamic Data
Harish Aspnet Dynamic Datarsnarayanan
 
Whats New In Sl3
Whats New In Sl3Whats New In Sl3
Whats New In Sl3rsnarayanan
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...rsnarayanan
 
Advanced Silverlight
Advanced SilverlightAdvanced Silverlight
Advanced Silverlightrsnarayanan
 
Occasionally Connected Systems
Occasionally Connected SystemsOccasionally Connected Systems
Occasionally Connected Systemsrsnarayanan
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Servicesrsnarayanan
 
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...rsnarayanan
 
J Query The Write Less Do More Javascript Library
J Query   The Write Less Do More Javascript LibraryJ Query   The Write Less Do More Javascript Library
J Query The Write Less Do More Javascript Libraryrsnarayanan
 
Ms Sql Business Inteligence With My Sql
Ms Sql Business Inteligence With My SqlMs Sql Business Inteligence With My Sql
Ms Sql Business Inteligence With My Sqlrsnarayanan
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developersrsnarayanan
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1rsnarayanan
 
Ux For Developers
Ux For DevelopersUx For Developers
Ux For Developersrsnarayanan
 
A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8rsnarayanan
 
App Arch Guide (Dons)
App Arch Guide (Dons)App Arch Guide (Dons)
App Arch Guide (Dons)rsnarayanan
 
Data Access Tech Ed India
Data Access   Tech Ed IndiaData Access   Tech Ed India
Data Access Tech Ed Indiarsnarayanan
 
Federated Identity Architectures Integrating With The Cloud
Federated Identity Architectures   Integrating With The CloudFederated Identity Architectures   Integrating With The Cloud
Federated Identity Architectures Integrating With The Cloudrsnarayanan
 
Pnp Agile Tech Ed India
Pnp Agile Tech Ed IndiaPnp Agile Tech Ed India
Pnp Agile Tech Ed Indiarsnarayanan
 

Mais de rsnarayanan (20)

Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnet
 
Walther Mvc
Walther MvcWalther Mvc
Walther Mvc
 
Harish Aspnet Dynamic Data
Harish Aspnet Dynamic DataHarish Aspnet Dynamic Data
Harish Aspnet Dynamic Data
 
Whats New In Sl3
Whats New In Sl3Whats New In Sl3
Whats New In Sl3
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
 
Advanced Silverlight
Advanced SilverlightAdvanced Silverlight
Advanced Silverlight
 
Netcf Gc
Netcf GcNetcf Gc
Netcf Gc
 
Occasionally Connected Systems
Occasionally Connected SystemsOccasionally Connected Systems
Occasionally Connected Systems
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Services
 
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
 
J Query The Write Less Do More Javascript Library
J Query   The Write Less Do More Javascript LibraryJ Query   The Write Less Do More Javascript Library
J Query The Write Less Do More Javascript Library
 
Ms Sql Business Inteligence With My Sql
Ms Sql Business Inteligence With My SqlMs Sql Business Inteligence With My Sql
Ms Sql Business Inteligence With My Sql
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developers
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1
 
Ux For Developers
Ux For DevelopersUx For Developers
Ux For Developers
 
A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8
 
App Arch Guide (Dons)
App Arch Guide (Dons)App Arch Guide (Dons)
App Arch Guide (Dons)
 
Data Access Tech Ed India
Data Access   Tech Ed IndiaData Access   Tech Ed India
Data Access Tech Ed India
 
Federated Identity Architectures Integrating With The Cloud
Federated Identity Architectures   Integrating With The CloudFederated Identity Architectures   Integrating With The Cloud
Federated Identity Architectures Integrating With The Cloud
 
Pnp Agile Tech Ed India
Pnp Agile Tech Ed IndiaPnp Agile Tech Ed India
Pnp Agile Tech Ed India
 

Último

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 

Último (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 

Birds Of The Same Feather   Biz Talk Server And Wcf

  • 1. Birds of the Same Feather – BizTalk and WCFK.Meena Director SymIndia Training & Consultancy Pvt Ltd Session Code:
  • 2. Agenda Overview WCF BizTalk WCF-BizTalk Integration Integration Scenarios WCF Send Adapters WCF Receive Adapters Specific Use cases
  • 3. Objectives & Pre-requisites Objectives Focus on Integration issues Present many scenarios of integration Pre-requisites Knowledge in designing and developing with WCF BizTalk
  • 4. Agenda Overview WCF BizTalk WCF-BizTalk Integration Architecture Integration Scenarios WCF Send Adapters WCF Receive Adapters Specific Use cases
  • 5. WCF Service ‘Client’ Message (SOAP) ‘Service’ Message Headers: Addressing, Security, etc Message Body: Payload Metadata Services pass messages described by a contract Service may provide metadata Describing the contract Describing the policy it applies to communication
  • 6. Mechanics of Communication ‘Client’ ‘Service’ What do I send? Contract Where do I send it? Address How should I send it? Binding Security? Encoding? Transport?
  • 7. Mechanics of Communication ‘Client’ ‘Service’ Endpoint Endpoint Address Binding Contract Address Binding Contract Endpoint Address Binding Contract
  • 9. Agenda Architectural Overview WCF BizTalk WCF-BizTalk Integration Integration Scenarios WCF Send Adapters WCF Receive Adapters Specific Use cases
  • 10. BizTalk Message Flow XML, XML, Flat File, Flat File, Binary Orchestration Binary Receive Port Send Port Group (optional) Receive Location Send Port Receive Send Adapter Adapter Resolve Sign Decrypt Parse Serialize Party Encrypt Receive Pipeline XML Send Pipeline Tracking Message Box Management Database Database Database
  • 11. Agenda Architectural Overview WCF BizTalk WCF-BizTalk Integration Integration Scenarios WCF Send Adapters WCF Receive Adapters Specific Use cases
  • 12. WCF and BizTalk Server Together Bid Evaluation Order Capacity Placement BizTalk Planning Server Order Job Receiving Costing
  • 13. Integration – How? BizTalk Extensibility Point Adapter Framework WCF send and receive facilities are exposed ( to and from) BizTalk through a set of adapters
  • 14. Channel Stack Channel Stack WCF Service Host WCF ServiceHost Operation / Operation / BizTalk WCF Receive Location Receive Location Receive Adapter BizTalkPipeline BizTalk Pipeline Message Box Orchestrations BizTalkPipeline BizTalk Pipeline WCF as Adapter for BizTalk Send Port Send Port WCF Client WCF Client BizTalk WCF Send Adapter Channel Stack Channel Stack
  • 15. WCF as Adapter for BizTalk Seven traditional BizTalk adapters WCF-BasicHttp WCF-WsHttp WCF-NetTcp WCF-NetMsmq WCF-NetNamedPipe WCF-Custom WCF-CustomIsolated UI Ensures ease of use and minimizes potential for mis-configuration
  • 17. Complementary Support WCF platform for building services on Windows Support for Standard communication protocols for services on Windows BizTalk Standards based Integration and BPM Server for Windows Infrastructure for orchestrating and extending WCF services
  • 18. Use Cases Exposing BizTalk orchestration as a WCF service Consuming a WCF service from BizTalk orchestration Transactional Receive and Send Using Headers WS-* headers for routing and message processing Custom headers Using BizTalk as SOAP intermediary
  • 19. Use Cases Using custom binding elements Using custom bindings Using BizTalk dynamic send ports Consuming a WCF Service originating from WCF-LOB Adapter (SAP, Siebel, Oracle DB, and Tibco RV)
  • 20. Integration Made Easy Publishing wizard Publish WCF http service in IIS Publish metadata for in-proc or out-of-proc adapter to IIS Consuming wizard Create message and port types Create a proxy equivalent Bindings file Operation to action mapping
  • 21. Agenda Overview WCF BizTalk WCF-BizTalk Integration Integration Scenarios WCF Send Adapters WCF Receive Adapters Specific Use cases
  • 22. Scenario: Consuming WCF Service Endpoint Address Binding Contract Order Send Port Config. Contract Service Address Binding BizTalk (WCF) Messaging BasicHttpBinding Schema Info, Send Port Config. Info WCF Service Consuming Wizard
  • 23. BizTalk Consuming WCF Service K. Meena Director SymIndia Training & Consultancy Pvt Ltd
  • 24. Scenario: Publish Orchestration as WCF Service Receive Lcation Config. WCF Client Address Binding Contract BizTalk Orchestration BasicHttpBinding Proxy ABC Details SVC Util WCF Service Endpoint Publishing Wizard Info in IIS
  • 25. Orchestration as WCF Service K. Meena Director SymIndia Training & Consultancy Pvt Ltd
  • 26. Scenario Requirement Client App coordinates a Distributed Transaction WCF as Resource Manager BizTalk WCF Receive Adapter as RM Transaction committed only when WCF service commits BizTalk WCF adapter commits Usage of Custom Pipeline component to abort transactions
  • 27. Scenario: Distributed Transactioning Transactions start and end at the message box Transaction Boundary Transaction Boundary Client WCF Adapter WCF Adapter App publish subscribe Message Box
  • 28. Distributed Transactioning Transactions start and end at the message box Transaction Boundary Transaction Boundary Client WCF Adapter WCF Adapter App Message Box
  • 29. Transaction Commited Start Txn Commit Archiving Place Order Client Commit Queue BizTalk Server R2 WCF Adapter Commit WCF Service
  • 30. Transaction Aborted Abort Start Txn Archiving Place Order Client Abort Commit Queue BizTalk Server R2 w/WCF Adapter Abort WCF Service
  • 31. Distributed Transactioning K. Meena Director SymIndia Training & Consultancy Pvt Ltd
  • 32. Scenario Existing WCF Service TransactionFlow is mandatory TransactionScope is required for “PlaceOrder” method ‘PlaceOrder’ method If message header “BeginNewPO” exists, create a key randomly and insert PO into PO table Otherwise, Insert lineItem details in message to PODetails table BizTalk Send Port emits a single document PO master details Multiple PO LineItem details
  • 33. Requirement Need to split the single BizTalk document Create WCF message with header for PO master details Create Multiple WCF messages, one for each Line item Initiate a transaction As part of the same transaction Send WCF message with PO header Send WCF messages for each Line Item
  • 34. Solution Create a Custom Binding Element in WCF WCF Message Interception Split WCF Message into Single message for Order header Multiple messages , one for every Line Item in the order Submit the messages one by one Create a Custom Binding in BizTalk Send Port Use WCF-Custom adapter Configure binding Custom Interceptor, Transaction Flow Encoder Transport
  • 35. Scenario: Custom Binding Element Send Port Config. Address Custom Custom Contract WCF Service Binding BizTalk WCF-Custom Messaging Inproc adapter CustomBinding= WCFMsgInterceptor, TransactionFlow Text Msg Encoding, Http Transport SVC Util Endpoint WCF Service Info Consuming Wizard in IIS
  • 36. WCF Adapter configured with Custom Binding Element K. Meena Director SymIndia Training & Consultancy Pvt Ltd
  • 37. Requirement Orchestration exposed as a WCF service endpoint Secured Access to a BizTalk Receive Location Configurable Windows groups Write a WCF Custom Behaviour and use it while configuring BizTalk Receive location
  • 38. Scenario: Custom Behaviour Receive Location Config. Custom Behavior Address WSHttop Contract Behavior WCF Client For access check BizTalk Binding Orchestration
  • 39. WCF Adapter with Custom Behavior K. Meena Director SymIndia Training & Consultancy Pvt Ltd
  • 40. Summary By themselves, WCF and BizTalk add significant value Integrating them provides enhances the value Leveraging Scenarios WS-* standards support of WCF in BizTalk WCF extensibility scenarios are easy configurable in BizTalk BizTalk as a Broker for WCF Services to communicate
  • 41.
  • 42.
  • 43. Related Content Solving Enterprise Integration Challenges with BizTalk Tuning BizTalk Server 2009 for Better Performance The Intricacies of Enterprise Integration : SOA vs. ESB
  • 44. Resources http://www.microsoft.com/downloads/details.aspx?familyid=a9 76dc7d-2296-4f88-be4d-0d314fca9e59&displaylang=en&tm http://www.microsoft.com/downloads/details.aspx?displaylang =en&FamilyID=13d6121d-c82b-4614-a160-7c88bcc037b7 http://seroter.wordpress.com/2008/01/31/article-series-on- biztalk-and-wcf-part-i-operation-patterns/ http://www.microsoft.com/downloads/details.aspx?familyid=7 0BADD79-CE7E-4CCB-BE5C-3FF74CA3A8C4&displaylang=en http://msdn.microsoft.com/en-us/library/cc952299.aspx http://msdn.microsoft.com/en-us/library/dd379134.aspx http://msdn.microsoft.com/en-us/library/cc950532.aspx http://msdn.microsoft.com/en-us/library/bb967002.aspx
  • 45. Track Resources Resource 1 Resource 2 Resource 3 Resource 4
  • 46. © 2009 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.