Create a Wizard Project File for your XML Schema
The first time you run the Wizard for a specific schema you will need to specify your XML Schema in the 'Select XML Schema (XSD, XDR, DTD)' text box. You can also press the 'Browse...' button to select an existing '.xsd', '.xdr' or '.dtd', file from your file system.
You may also enter the path of a remote file, this is especially useful when using Web Services. E.g. http://www.liquid-technologies.com/SampleWebService/Service.asmx?WSDL
The Wizard will attempt to workout the type of XML Schema from the file extension, however, this may not be possible and so you should check the option and manually change the type if required.
If your XML Schema is an XDR file, you can also specify additional options 'Allow Additional Attributes in XDR Schema' and 'Ignore Simple Elements in XDR Schema'.
If you are using a WSDL, you have the option to 'Generate a Web Client Interface'. This is only applicable for C# and VB.Net as it will generate WCF Web Client Interface code to enable you to access a Web Service from your generated library, and serialize the values through the generated classes.
You can also select whether or not to store paths relative to your project. Note: Paths are always displayed as absolute in all screens of the Wizard (although you can enter relative paths). When the project is saved, if the 'Store Paths Relative to Project' option is selected, then the project file will contain relative paths allowing you to move a tree of files from a source to destination folder without breaking the project. You may however wish to keep files absolute, in which case you can move the project file without breaking the project as all other files will keep there absolute position.
Pressing the 'Next >' button will create a Wizard Project file and display the 'Save Project File' dialog. When you have selected a location, the Wizard Project '.xdbproj' file is saved to disk.
The Wizard will then validate your XML Schema file. If the file is invalid, you will receive an error message describing the error. If the XML Schema is valid the 'Select Elements for Code Generation' or 'Select Web Service' page is displayed.
Note: If a Wizard Project '.xdbproj' file already exists for the XML Schema file you select, you will see a popup dialog that requires you to make a choice.
Selecting 'Yes' will load the existing Wizard Project file.
Selecting 'No' will delete the existing Wizard Project and associated Mapping files and create a new Wizard Project '.xdbproj' file.
Selecting 'Cancel' will allow you to specify a different XML Schema file.