Академический Документы
Профессиональный Документы
Культура Документы
LAB 2
v8.4
Meta data:
ansi5010_authorization_canonical.xsd,
pre_auth.xsd
Description:
The first step in building a WTX interface is to determine your input and output structures. Many
times well receive a file containing metadata that can be imported directly into WTX saving
many hours of development time.
A common example of this is receiving an XSD. The steps below outline how to import an XSD
into the WTX Type Tree Designer.
Steps
1. Below is the XSD well be importing into WTX to create a Type Tree:
2. In order to import the XSD a good first step is to put the XSD into the workspace folder of the
project where you would like to use the Type Tree.
3. Refresh the project. Now we can see that the files, like this XSD, have been copied to the project:
4. Now that we have an XSD in our project, we can import the tree to build a Type Tree for use in
our map:
5. A window will appear allowing you to search for your XSD file. Find the file by clicking the ellipses
() and select the XSD:
6. The next window will give you some options. For this class well use the Classic XSD importer vs.
the Xerces. The Xerces option will give your tree a different look, but will achieve the same goal.
The downside of using this option is that the XSD may be needed at runtime.
7. Choose the project where the tree will be needed. Our project is named WTX_Demo:
8. We should see the window below showing that our XSD import successfully created a Type Tree:
9. A final window will ask if youd like to view the newly created Type Tree:
NOTE: Theres an alternative to importing an XSD. You can simply call the XSD natively by using it
instead of a tree. We can demonstrate this technique when we create a map and point it to our XSD
Tree.