Module 6 Creating Pipelines Overview Lesson 1 Introduction



















- Slides: 19
Module 6: Creating Pipelines
Overview Lesson 1: Introduction to Pipelines Lesson 2: Building a Pipeline
Lesson 1: Introduction to Pipelines What Is a Pipeline? Pipeline Scenarios Receive Pipeline Stages Send Pipeline Stages Pipeline Components What Are the Default Pipelines? What Are Custom Pipeline Components? Types of Pipeline Components
What Is a Pipeline? Use pipelines to: Normalize data from various formats to XML Translate data from XML to various formats Assemble and disassemble documents Decode and encode documents Decrypt and encrypt documents Assign and verify digital signatures Receive Pipeline Orchestration Pipeline Components Send Pipeline
Pipeline Scenarios Receive Pipelines: Send Pipelines: Decrypt inbound messages from trading partners Encrypt outbound messages to trading partners Split batched messages Digitally sign outbound messages Validate messages against known schemas Provide a wrapper for outbound messages Verify the sender of a message for nonrepudiation Create custom processors to extend built-in functionality Validate messages against known schemas
Receive Pipeline Stages Decode Use to decode or decrypt messages Use when secure document exchange is required Biz. Talk includes a MIME/SMIME Decoder Disassemble Use to parse or disassemble components Use to probe messages and verify context properties Biz. Talk Server includes an XML, flat file, and a BTF disassembler Validate Use to validate the format of an XML message Decode !Drop Here! Disassemble !Drop Here! Validate !Drop Here! Use to compare a message to a known schema Resolve Party Use to verify the sending party for a received message Use with public certificates to validate sender Resolve Party !Drop Here!
Send Pipeline Stages Pre-assemble Use to process a message before it is sent Use for custom components only Assemble Use to assemble or serialize a message Use to convert a message from XML to native format Encode To encode or encrypt messages Use when secure document exchange is required Biz. Talk includes a MIME/SMIME decoder Pre-Assemble !Drop Here! Assemble ! Drop Here! Encode !Drop Here!
Pipeline Components A pipeline component defines a processing action Numerous pipeline components ship with Biz. Talk Server You can write custom pipeline components Built-in pipeline components XML assembler/disassembler Flat File assembler/disassembler MIME/SMIME encoding and decoding XML validation Party resolution
What Are the Default Pipelines? Pipeline Pass-Through Receive (Pass. Thru. Receiv e) Pass-Through Send (Pass. Thru. Transm it) XML Receive (XMLReceive) XML Send (XMLTransmit) Usage Contains no components No decoding, disassembling, or validation required Contains no components No encoding or assembling required Use for basic message routing Contains the XML disassembler component Party resolution component for security No decoding or validation stage Contains the XML assembler component
What Are Custom Pipeline Components? Custom Pipeline Components Use to extend message processing capabilities Use when standard pipeline components are not sufficient Use Scenarios Non-XML validations Non-supported decryption algorithms Non-supported signature formats Custom data conversions Advanced routing requirements Specialized processing
Types of Pipeline Components Interfaces Three types of components IBase. Component General IComponent Assembling IComponent. UI Disassembling IPersist. Property. Bag Promoting a Property Field msg. Context. Promote("Order. Total", "http: //www. contoso. com/purchase. Order/property. Fields", “ 20000. 00"); Promoting a Distinguished Field msg. Context. Write("Item. Description", "http: //www. contoso. com/purchase. Order/property. Fields", “X-Ray machine");
Lesson 2: Building a Pipeline Using the Pipeline Designer Securing Data by Using a Pipeline Processing Interchanges by Using a Pipeline Creating Schemas for Interchange Processing Testing an Envelope Schema Demonstration: Creating and Testing a Pipeline
Using the Pipeline Designer Pipeline Files Toolbo x Properties Window Design Surface
Securing Data by Using a Pipeline MIME/SMIME Encoder Use for secure exchange of messages Can use to encode, sign, and encrypt Supports multi-part messages Pipeline Message MIME/SMIM EEncoder Component
Processing Interchanges by Using a Pipeline May Require Multiple Schemas Header (Envelope) Body Trailer Interchange Processing Standard Recoverable Disassembl er Properties
Creating Schemas for Interchange Processing Flat Files Sender: Contoso Recipient: Adv. Works Header_FF. xsd (Company, address, batch#) POs Purchase. Order_FF. xsd Trailer_FF. xsd XML Files POs Sender: Contoso Recipient: Adv. Works Envelope. xsd (Envelope attributes) <Any> Purchase. Order. xsd
Testing an Envelope Schema Tools Pipeline. exe FFAsm. exe FFDasm. exe XMLAsm. ex e XMLDasm. e xe Usage Accepts XSD schemas and input message Produces output document Executes the flat-file assembler component Executes the flat-file disassembler component Executes the XML disassembler component
Demonstration: Creating and Testing a Pipeline In this demonstration, you will see how to: Create and configure a receive pipeline Create and configure a send pipeline Use the pipeline command-line tools
Lab: Creating Pipelines Exercise 1: Configure a Send Pipeline to Encrypt Outgoing Messages Exercise 2: Configure a Send Port to Use the Encryption Pipeline and Certificate Exercise 3: Examine the Interchange Message to Be Disassembled Exercise 4: Configure a Receive Pipeline to Disassemble a Message Interchange Exercise 5: Configure a Receive Location to Use the Pipeline Exercise 6: Submit Test Messages Exercise 7: Enable and Test Recoverable Interchange