Validating a Map (EDI)

You can validate a map at design time. To do so, you use the XML Tool extensions to BizTalk Serverin the Visual Studio environment. This operation generates a file containing the underlying XSLT of the map and a file containing extension objects.

Prerequisites

You must be logged on as a member of the BizTalk Server Administrators group.

Validate a map

  1. In Visual Studio, open a project. To the project in Solution Explorer, add the map that you want to validate and its input and output message schemas.

    Note

    • The message schemas are located in the appropriate subfolder under the \Program Files (x86)\Microsoft BizTalk Server <VERSION>XSD_Schema\EDI folder.
    • You do not have to build the project to validate a map.
  2. Right-click the map in Solution Explorer, and then click Validate Map.

  3. Verify that there is a message in the Output window indicating that the operation succeeded.

  4. Note any warnings that BizTalk Server has posted in the Output window.

  5. In the Output window, note the name and path of the output XSLT. This XSL file will be given the same name as the map file, but with an XSL extension. You can press CTRL and click the link to display the XSL file in the BizTalk Editor.

  6. In the Output window, note the name and path of the extension object XML. You can press CTRL and click the link to display the XSL file in the BizTalk Editor.

See Also

Using Design-Time XML Tools