- Mapping

BizTalk: mapping with Xslt

BizTalk Map Editor (Mapper) is a good editor, especially in the last 2010 version of the BizTalk. But sometimes it still cannot do the tasks easily. It is time for the Xslt code, it is time to remember that the maps are executed by the Xslt engine. Right-click the Mapper Grid (a field between the source and target schemas) and choose Properties /Custom XSLT Path. Input here a file name for the file with Xslt code. Only this code will be executed now, forget the picture in the Mapper, all those links ......

BizTalk: Tips: cumulative map and schema testing

This is a small tidbit for routine work. It don't take much time but help to work with schemas and maps systematically. First time: 1). For each map I create the <test-map> folder as: TestCases\ Maps\ A12_311_to_Canonical\ A12_915_to_Canonical\ 2). Get the first test source message and place it in the <test-map> folder. Create a copy of this message and name it "Current". 3). Change the "TestMap Input Instance" property of the map to this name (for example as "<test-map>\Current.x... ......

BizTalk: Mapping: Script functoid: Type of the Input and output parameters

Rule of thumb: In the "Script Functoids - Inline C#" use only string types as the input and output parameters. How it works: If the C# method in the Script Functoids - Inline C# has non-string parameter, it will be converted to the string on the "border" of this functoid! Take in mind that the "real" type for Xml elements is "string", no matter how it was defined in the Schema. Xml only mimics the other types. The Xml holds the values serialized to string and vice versa. In our case the string "1" ......

BizTalk: Mapper: Script functoids: Enhancement of the UI

BizTalk: Mapper: Script functoids: Enhancement of the UI Working with maps into the BizTalk Mapper more then a year, I've got some ideas how the Mapper can be improved. Look at the Script functoid. Usually I have a lot of them because only very simple logic I can implement with combination of other functoids. If I have more then one "If" then I use a Script functoid (SF). What I can see when I look at the map and try to understand logic of the SF? Nothing but only that "I have some logic inside". ......

BizTalk: Mapping, Logical functoids, and Boolean values

BizTalk: Mapping, Logical functoids, and Boolean values Several times I've got "non intuitive" result by using boolean values in maps. For example, I've tried to get values "true/false" or something else from the logical functoids for filling up the node in a Destination schema, but didn't get anything. Here is my discovering using boolean value in the maps. There are different flavors this problem: · Where we can use boolean values? · Where we can get boolean values? · How we can fill in the nodes ......

BizTalk: Mapping Empty or Missing attributes and elements with different combinations of parameters: Required/Optional, Min/MaxOccurs, Default, Fixed

Mapping Empty or Missing attributes and elements with different combinations of parameters: Required/Optional, Min/MaxOccurs, Default, Fixed When I am creating maps it is annoying to me to guess which values I'm getting if I map Empty or Missing attributes/elements. I've made an investigation on the base of a Standard "XML Schema Part 0: Primer. W3C Recommendation, 2 May 2001". http://www.w3.org/TR/2001/R... (below is this article). I added the last column ......

What I'd like to see in the BizTalk 2004 Mapper (and Schema Editor) at my routine work

IMHO What I'd like to see in the BizTalk 2004 Mapper (and Schema Editor) at my routine work: 1. Names of Source and Destination schemas (maybe on the heads of the Source and Dest panes). Usually I work with more then one maps in one project and I have the long map's names as "CompanyNDocumentBlahBlah_T... These names don't fit into the tab fields and I have to look to the Property window. I always have meaningless the Headers with text "Source/Destination schema". Why don't ......