User Guide > Definition Sets > Creating a Definition Set > Creating a WSDL Definition Set
 
Creating a WSDL Definition Set
You can create a WSDL definition set by typing it in or by importing existing WSDL or XML schema definitions.
To create a WSDL definition set
1. Follow the steps in To add a new SQL, XML, or WSDL definition set, choosing WSDL as the type of definition set.
The WSDL tab is displayed in the editor that opens on the right. See WSDL Definition Set Editor for information about the WSDL definition set editor toolbar buttons and panel features.
2. Enter WSDL schema definitions in one of these ways:
Type the schema definitions directly into the panel.
Import the WSDL or XML schema definitions from an existing file in your file system as follows:
a. Click the Import WSDL and XML Schema Definitions From File(s) button.
b. In the File Location dialog, type the full pathname to the WSDL or XML file in the File field, or browse to the WSDL or XML file that you want to import.
c. Optionally, check the Show Advanced Options check box to view the connection properties and alternate location mappings for this file.
d. Click OK.
3. Use the Validate WSDL and XML Schema Definitions button in the toolbar to validate the schema.
Validating the schema parses the schema into Element Declarations and Type Definitions, which you can find in the XML Schema panel.
A field in the lower right corner of the panel shows the current line and column position of the cursor (separated by a colon) to help you find errors in the schema if it is found to be invalid.
4. Use the Format WSDL and XML Schema Definitions button in the toolbar to format the definitions with indentation and font coloring (keywords in orange type and literal definitions in blue type).
You can now reference the WSDL definition set and all of the XML types defined in the definition set from stored procedures, XQuery procedures, and XSLT procedures. See Using a WSDL Definition Set.