Dışarıya aktar (0) Yazdır
Tümünü Genişlet
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

Create a Transform or Map

Updated: October 1, 2014

Using the Transform designer, you can define relationships between an input XML document and an output XML document using links and Map Operations. Transforms are created using Extensible Application Markup Language (XAML).

A Transform project (BizTalk Service Artifacts) is part of the BizTalk Services SDK template in Visual Studio. The BizTalk Services template is created when the Microsoft Azure BizTalk Services SDK is installed (Install Azure BizTalk Services SDK).

There are two ways to create a new Transform: Add a map to the BizTalk Service project or create a new BizTalk Service Artifacts project.

This topic lists the following:

Create a new BizTalk Service Artifacts project

Add a Transform to the existing BizTalk Services project

Using the Schema Editor

When you create a BizTalk Service Artifacts project, you are creating a Transform (TransformName.trfm) independent of any other project. When the Transform is created, it can be added to an X12 Agreement and added to the BizTalk Service project.

To create a Transform:

  1. Open Visual Studio as Administrator.

  2. Select New Project.

  3. Expand the Visual C# template and select BizTalk Services.

  4. Select BizTalk Service Artifacts.

  5. Enter the project Name, project Location, and Solution name properties. If you want this solution to have a separate folder in Windows Explorer, select Create directory for solution.

  6. Select OK.

When the project is opened, Map.trfm, Schema1.xsd, and Schema2.xsd are created automatically. BizTalk Services Transforms have a .trfm extension. Opening a .trfm file displays the Transform design surface. In the design surface, you can add schemas and Map Operations, as described in the next sections.

When a Transform is added or created in the BizTalk Service project, the Transform can be used in the XML One-Way Bridge or the XML Request-Reply Bridge. Specifically, the Transform can be used in the Transform Stage of the XML bridge to manipulate the message:

XML Bridge : Configure the Transform Stage for the Request Message

XML Request-Reply Bridge : Configuring the Transform Stage for the Response Message

Uses and Stages of Bridges provides more information on the Transform Stage.

  1. Open Visual Studio as Administrator and open your BizTalk Service project.

  2. In the BizTalk Services project, go to Solution Explorer.

  3. Right-click the project, select Add, and select New Item.

  4. Select Map, enter a name, and select Add.

  1. Open Visual Studio as Administrator and open your BizTalk Service project.

  2. In Solution Explorer, right-click the project, select Add, and then select Existing Item.

  3. Browse to the location of the Transform file (TransformName.trfm) and select Add.

BizTalk Services provides the ability to create and modify schemas. To use the Schema Editor:

  1. Open a BizTalk Services or BizTalk Service Artifacts project in Visual Studio as Administrator.

  2. Add an existing schema (.xsd) or add a new schema (.xsd) to the project using the following steps:

    1. Right-click the project and select Add.

    2. Select Existing Item to add a schema that is already created. To create a new schema, select New Item and then select Schema.

  3. Select Add.

  4. Double-click the schema (.xsd) to open the Schema Editor.

At this point, records, attributes, elements and groups can be added. Developing EDI Schemas provides information on creating and modifying existing schemas.

See Also

© 2014 Microsoft