Importing XSD Files

You can create a class in your model that defines an XML document using the XSD Import Wizard. The input file for this process must be an XSD file that defines the schema for an XML document. After completion of this process your model will contain a class or classes that define the structure of the XML document.

To create a class in your model that defines an XML document using the XSD Import Wizard, perform the following:

  1. In the Class View, right-click the segment, point to Add, and then select Add New Item....

    The Add New Item dialog box appears.

  2. From the templates available in the Add New Item dialog box, select XSD Import, and then click Create.

    The Xsd Import Wizard appears.

  3. Enter the location of the XSD file or browse to the location of the XSD file that you want import by clicking .

  4. Click Load.

    The Xsd Structure section displays the element name in the selected XSD file.

  5. Click Next.

    The Confirmation page appears in the wizard.

  6. Click Finish to complete importing the XML definition.

    A new folder, MessageDefinitions, is created at the folder level under the segment. The XML definition is imported to a folder, Messages, under the MessageDefinitions folder.