Step 2: Create and Deploy the Sample X12 Schema

 

Step 2 of 11

In this step, you build and deploy the project that provides a sample EDI X12 schema that is required to process the incoming EDI X12 interchange transported over AS2. For this tutorial, that schema is X12_00401_864.xsd. You do not need to change the project that is shipped with the AS2 tutorial; you just need to build it.

System_CAPS_ICON_note.jpg Note

The schema file X12_00401_864.xsd that this tutorial uses is stored in the folder \Program Files\Microsoft BizTalk ServerSDK\AS2 Tutorial\Schemas. It has already been added to the Schemas project that you will build and deploy in this step. This schema is different from the X12_00401_864.xsd file downloaded onto your computer by executing MicrosoftEdiXsdTemplates.exe in the folder \Program Files\Microsoft BizTalk ServerXSD_Schema\EDI. The tutorial will only work if you use the X12_00401_864.xsd file that has been added to Schemas.btproj.

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

To create and deploy the sample X12 schema

  1. Start Microsoft Visual Studio as an administrator.

  2. In Visual Studio, open the solution \Program Files\Microsoft BizTalk ServerSDK\AS2 Tutorial\Schemas\Schemas.sln.

    System_CAPS_ICON_note.jpg Note

    This topic assumes that you have already added a reference from your application to the BizTalk EDI Application, which contains EDI schemas, pipelines, and orchestrations. If not, see How to Add a Reference to the BizTalk Server EDI Application.

  3. Right-click the Schemas project, and then click Properties. Click the Signing tab in project designer. Check the Sign the Assembly checkbox, for Choose a strong key name file, select <New…> and enter Schemas.snk. Clear Protect my key file with a password and then click OK. Close the project properties dialog and save the changes.

  4. Build and deploy Schemas.btproj.

You configure a party and business profile for your organization (Contoso), as described in Step 3: Configure a Party and Business Profile for Your Organization.

EDI Document Schemas

Community Additions

ADD
Show: