Processing an Order in a Purchase Order System

ProcedureAdd Local Elements to the XML Schema

  1. From the Schema window, right-click the sequence node and select Add -> Element from the pop-up menu.

    The Add Element dialog box appears.

  2. From the Add Element dialog box, do the following:

    1. Enter orderId as the Name.

    2. For Type, select Use Existing Type and select Built-in Types -> int as the Current Selection.

      Graphic shows the Add Element dialog box, as described
in context.
    3. Click OK.

  3. From the Schema window, right-click the sequence node again, and select Add -> Element from the pop-up menu.

    The Add Element dialog box appears.

  4. From the Add Element dialog box, do the following:

    1. Type inventoryStatus as the Name.

    2. For Type, select Use Existing Type and select Built-in Types -> boolean as the Current Selection.

    3. Click OK.

  5. From the Schema window, right-click the sequence node again, and select Add -> Element from the pop-up menu.

  6. From the Add Element dialog box, do the following:

    1. Type inventoryStatusMessage as the Name.

    2. For Type, select Use Existing Type and select Built-in Types -> string as the Current Selection.

    3. Click OK.