Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 3: Creating Maps. Overview Lesson 1: Creating a BizTalk Map Lesson 2: Configuring Basic Functoids Lesson 3: Configuring Advanced Functoids.

Similar presentations


Presentation on theme: "Module 3: Creating Maps. Overview Lesson 1: Creating a BizTalk Map Lesson 2: Configuring Basic Functoids Lesson 3: Configuring Advanced Functoids."— Presentation transcript:

1 Module 3: Creating Maps

2 Overview Lesson 1: Creating a BizTalk Map Lesson 2: Configuring Basic Functoids Lesson 3: Configuring Advanced Functoids

3 Lesson 1: Creating a BizTalk Map What Is a BizTalk Map? Creating a Map by Using the BizTalk Mapper Creating Links Basic and Complex Map Links Validating, Testing and Debugging a Map Demonstration: Creating and Testing a BizTalk Map

4 Data Transformation Data Translation Data Transformation Data Translation What Is a BizTalk Map? Perform computational and other data operations Copy the data from one message to another Perform computational and other data operations Copy the data from one message to another Map Source Schema ItemID Qty UnitPrice PO Status Destination Schema PurchaseOrder PO_Number Date Item_No Quantity Order_Status Date A map defines the correspondence between records and fields in two different schemas Change the format of data between messages Example: translate between a flat file and an XML file Change the format of data between messages Example: translate between a flat file and an XML file

5 BizTalk Mapper Creating a Map by Using the BizTalk Mapper Destination Schema Integrated within Visual Studio Starts when a map is opened or added to a project Source and destination schemas must be part of the project or contained in a referenced assembly Integrated within Visual Studio Starts when a map is opened or added to a project Source and destination schemas must be part of the project or contained in a referenced assembly Map Grid Source Schema

6 Creating Links Link TypeUsage Simple link (one-to-one) Create a single link by dragging and dropping Can be made between nodes or records Structure link (multiple) Create multiple links simultaneously Relevant schema structures must be the same Use when node names are different but order is the same (or similar) Name-matching link (multiple) Create multiple links simultaneously Record or field names must match Similar but not identical schema structures ItemID Record PO Status Order PO No Date Item No ItemID Record PO Status Order PO No Status Flag Item No Item Record PO Status Order Status Item PO

7 Mapping OperationUsage Basic Most common type of mapping Values simply copied from input message to output message Supports most types of transformations and translations Complex Records can occur multiple times for a single message (looping) Source schema must specify repeating element Compiler will automatically generate an XSLT for-each loop Basic and Complex Map Links Order PO_Number Date Item_No Quantity Order_Status ItemID Qty UnitPrice Record PO Status Date Field1 Field2 PO ID Status Order PO_Num Date FieldA FieldB Detail Item Items

8 Validating, Testing and Debugging a Map

9 Demonstration: Creating and Testing a BizTalk Map In this demonstration, you will see how to: Use the BizTalk Mapper Add source and destination schemas to the map Create a simple link Automate multiple links Test and validate a map

10 Lesson 2: Configuring Basic Functoids Data Manipulation with Functoids Using Basic Functoids Adding Functoids to a Map Using Map Grid Pages Demonstration: Adding Functoids to a Map

11 Functoids Data Manipulation with Functoids Use to manipulate mapped data Can use predefined functoids or create custom functoids Custom functoids can call scripts Use to manipulate mapped data Can use predefined functoids or create custom functoids Custom functoids can call scripts Map Source Schema Destination Schema ItemID Qty UnitPrice Record PO Status Order PO Number Date Item No Quantity Order Status Date Total Price (..) X

12 Using Basic Functoids CategoryUsage Conversion To convert to and from ASCII and between numeric bases, such as hexadecimal and octal Cumulative To perform mathematical operations in looping records, such as averages and concatenation Date and Time To retrieve the current date and time, and to calculate delta times Logical To perform a variety of logical operations, such as greater than and logical existence Mathematical To perform a variety of mathematical operations, such as addition and multiplication Scientific To perform a variety of scientific operations, such as logarithms and trigonometry String To perform a variety of string functions, such as trimming and concatenation

13 Adding Functoids to a Map Link functoids to fields 2 2 Drag functoid from Toolbox to map 1 1

14 Grid Pages Grid Preview Grid Pages Grid Preview Using Map Grid Pages Create up to 20 different pages Isolate different parts of a map Work with different parts of a map separately Must create connected functoids on the same layer Create up to 20 different pages Isolate different parts of a map Work with different parts of a map separately Must create connected functoids on the same layer Use pages to reduce complexity of a map Page 4Page 3Page 2Page 1 ItemID Qty UnitPrice Record PO Status Order PO Number Date Item No Quantity Order Status Destination Schema Source Schema Date Total Price (..) Find and work with a portion of a large map X

15 Demonstration: Adding Functoids to a Map In this demonstration, you will see how to: Create multiple map pages Add basic functoids to a map

16 Lesson 3: Configuring Advanced Functoids Using Advanced Functoids Using Looping Functoids Using Database Functoids Using a Scripting Functoid Demonstration: Configuring Advanced Functoids

17 Use Advanced functoids to: Using Advanced Functoids Manage looping records Define conditional mapping Define custom scripts Copy the entire elements of data Manage looping records Define conditional mapping Define custom scripts Copy the entire elements of data

18 Looping functoids include: Looping functoid Index functoid Record Count functoid Looping functoid Index functoid Record Count functoid Table-driven functoids: Table Looping functoid Table Extractor functoid Table Looping functoid Table Extractor functoid Using Looping Functoids

19 Database functoids Used to extract data from a database Uses ADO datasets Used to extract data from a database Uses ADO datasets Database functoids include: Database Lookup Error Return Format Message Value Extractor Database Lookup Error Return Format Message Value Extractor Using Database Functoids

20 Scripting functoid Using a Scripting Functoid Use when standard functoids do not provide required results Can call an external.NET assembly Use when standard functoids do not provide required results Can call an external.NET assembly Supported languages Visual Basic C# JScript XSLT XSLT Call Template Visual Basic C# JScript XSLT XSLT Call Template

21 Demonstration: Configuring Advanced Functoids In this demonstration, you will see how to: Use a Looping functoid Use a Record Count functoid

22 Lab: Creating a BizTalk Map Exercise 1:Creating a Map Exercise 2:Adding Basic Functoids to a Map Exercise 3:Adding Database Functoids to a Map


Download ppt "Module 3: Creating Maps. Overview Lesson 1: Creating a BizTalk Map Lesson 2: Configuring Basic Functoids Lesson 3: Configuring Advanced Functoids."

Similar presentations


Ads by Google