# Creating a new type for your WSDL file

Types describe all the data types used between the client and server. WSDL is not tied exclusively to a specific typing system, but it uses the W3C XML Schema specification as its default choice.

WSDL allows type systems to be added via extensibility elements. An extensibility element may appear under the types element to identify the type definition system being used and to provide an XML container element for the type definitions.

To add an extensibility element to your WSDL file, follow these steps:

1. In the Graph view right-click the Types group.
2. Click Add Child > Add Schema. You will be creating an inline schema - a schema that is defined directly within the WSDL file.
3. A schema object will appear in the group. Select it.
4. The following information about your schema is listed:
   - Prefix - The prefix associated with the current namespace
   - URI - the target namespace for the schema
   - Other attributes, such as version, language, and attribute form.
   You can manually modify the value of any of these attributes.
5. You can also add new components to your XML schema. In the Graph view, press the arrow icon to the left of the schema object to drill down into the schema. Now you can edit the schema within the graph view. When finished, press the Back button at the top left of the WSDL editor to return to the definition view of the WSDL document.

For more information about XML schemas, refer to the XML schema editor online documentation.

Related concepts
Editing WSDL files with the WSDL Editor

Related tasks
Creating a new WSDL file
Editing WSDL files

(C) Copyright IBM Corporation 1999, 2005. All Rights Reserved.