Creating an XML Schema

How to:

You can create XML request and response schemas for the Connect:Direct metadata that you want to use with your adapter. Optionally, you can store the schemas in a folder (directory) on your file system, using the iWay Explorer export feature.


Top of page

x
Procedure: How to Create an XML Schema
  1. Expand the connected target node and locate the method for which you want to create XML request and response schemas.

    For example, for Connect:Direct, expand CompositeCommandServices and select COPY.

  2. Right-click COPY, and click Open Schemas from the menu, as shown in the following image.

    iWay Explorer generates XML request and response schemas for the selected command. By default, the Response tab in the right pane is selected (active), and iWay Explorer displays the response schema in that pane.

  3. In the right pane, click the Request tab to display the request schema.

    To view sample XML request and response schemas that are generated by iWay Explorer for the Connect:Direct adapter, see Sample XML Request and Response Schemas.


Top of page

x
Procedure: How to Export an XML Schema
  1. Right-click the Connect:Direct command whose schemas you want to export, for example, COPY.
  2. From the menu, click either Export Request Schema or Export Response Schema.
  3. In the Save As dialog box that opens, select the folder on your file system in which to store the exported schema. By default, iWay Explorer stores the file in your workspace folder, followed by the path that you specify on the Save As dialog box.
  4. Type a name for the exported schema. By default, the file name extension is .xsd.
  5. Click OK when you are done.

    iWay Explorer stores the exported schema in the folder that you selected, using the name that you supplied.


iWay Software