When you test the mapping you performed with the BizTalk Mapper, you generate a schema, add valid values to the schema, and test the transform to ensure that your orchestration is accurate.
To test your orchestration's mapping:
- Open a BizTalk Server project in Visual Studio.
- Select the Solution Explorer tab.
- Select the line-of-business schema (i.e., LOBSchema.xsd).
- In the Properties pane, select Output Instance Filename.
- Click … and specify a location to save the XML output file.
- Right-click the name of the LOB schema and select Generate Instance.
- The Output pane displays the location of the output file. Hold Ctrl and click this link to view the XML file. To edit the XML file, right-click and select View Source.
- Edit the file you generated in step 7, inserting valid values for each keyword and non-keyword field.
- Save and close this file.
- In the Solution Explorer pane, select the transform file (*.btm) you previously created.
-
In the Properties pane, perform the following:
-
Set Validate TestMap Input to False.
-
Set Validate TestMap Output to False.
-
Set TestMap Output Instance to the location where you want the output file to be saved to.
-
Set TestMap Input Instance to the location of the file you generated in step 7.
-
- In the Solution Explorer pane, select the transform file (*.btm) you previously created.
- Right-click and select Test Map.
- If the test is successful, a file should be generated in the location you specified in the TestMap Output Instance.