: Jim Dawson, John Wainwright
: Pro Mapping in BizTalk Server 2009
: Apress
: 9781430218586
: 1
: CHF 47.10
:
: Informatik
: English
: 462
: Wasserzeichen/DRM
: PC/MAC/eReader/Tablet
: PDF

Learning good map design techniques for BizTalk Server will make a huge difference to the processing speed of your implementation, as well as to the scalability and maintainability of your code. Regardless of your experience, expert authorsJim Dawson andJohn Wainwright ensure you make the right choices to reap the rewards and avoid the potential penalties of poor design.

Pro Mapping in BizTalk Server 2009 provides in-depth coverage of all aspects of mapping to enable you to quickly and efficiently incorporate logic that will fulfill your mapping requirements. While the mapping techniques will be useful for all versions of BizTalk Server, the code is tailored toward BizTalk Server 2006 R3 and demonstrates the latest approaches to standard maps, electronic data interchange, and RFID components. You'll refer again and again to the multiple solutions that will help solve your new mapping challenges, and soon find this is an essential reference for any BizTalk implementation.



Jim Dawson spent his first life in the U.S. Marine Corps, including a tour in Vietnam as an infantry platoon and company commander. Since then, his has gathered more than 25 years of experience in development, including working as a programmer analyst, systems analyst, electronic data interchange (EDI) analyst, BizTalk integrator, team leader, project manager, and departmental director. He has programmed in C, C++, C#, VB, XSLT, PHP, SQL, HTML, FORTRAN, PL1, and Assembly. He has worked with the BizTalk mapping engine for the last six years, concentrating on applying BizTalk to EDI uses. Jim is currently a managing partner of Second Star Professional Services (SSPS), LLC, a Microsoft Partner that provides expert electronic commerce implementation and integration services related to EDI.
Contents at a Glance5
Contents7
About the Authors16
About the Technical Reviewer17
Acknowledgments18
Introduction19
Who This Book Is For19
How This Book Is Structured20
Conventions20
Prerequisites21
Downloading the Code21
Contacting the Authors22
Creating a Simple Map24
Using the Development Studio24
Creating the Map30
Summary51
How BizTalk Maps Work52
Understanding How BizTalk Maps Work52
Examining the Hidden Constructs in Maps57
Digging into the HelloWorld Map Rules61
Summary78
Using Scripting in Maps79
Choosing Between Scripts and Functoids79
Selecting from Available Scripting Languages85
Choosing Your Scripting Language102
Combining Types of Scripting104
Examples of When You Should Use a Script108
Summary111
Testing BizTalk Maps112
Incremental Testing112
Addressing Architecture Considerations115
Test Data119
Testing in the Map Editor122
Summary129
Mapping Conditionals132
Checking If Data Exists132
Blocking Output When Data Doesn t Exist134
Checking If a Specific Condition Exists136
Checking If a Specific Condition Does Not Exist138
An If/Else Condition140
Using the Logical OR for a Single Return Value142
Using a case Statement143
Summary145
Dealing with Numbers147
Is This a Number?147
Is This Number an Integer?151
Rounding Numbers153
Summing Numbers155
Counting Records157
Converting Real Numbers to Integers (and Back Again)161
Moving the Sign to a Trailing Position162
Converting a Number to or from Sign-Trailing Overpunch Format165
Summary168
Manipulating Strings169
Trimming Strings169
Trimming Nonblank Characters from a String172
Padding a String173
Selecting Substrings from String Data174
Concatenating Strings177
Searching String Data179
Removing and Replacing Characters from Strings180
Using the RegEx Function to Remove Garbage from a String183
Summary183
Manipulating Dates and Times184
BizTalk Date and Time Functoids184
Altering the Format of a Date186
Calculating a Due Date189
Comparing Date Intervals190
Performing Time Zone Conversions191
Converting Gregorian Dates to Ordinal Dates192
Converting Ordinal Dates to Gregorian Dates193
Converting Dates and Times Using the ParseExact Method195
Getting Dates and Times for an XSLT Script195
Summary197
Collecting Data198
Collecting Nonlooping Data from the Source198
Collecting Looping Data from the Source200
Modifying the Target Schema for Data Collection204
Using Global Variables for Data Collection205
Loading a Unique List from Input Data209
Arrays vs. Hash Tables210
Using an Array to Control Data Selection for Output210
Summary217
Accessing External Data218
Using External Flat Files219
Using the BizTalk Database Functoids with External Data231
Locating External Files