|
Home >Online Product Documentation >Table of Contents >The Definitions Element The Definitions ElementThe Definitions element (wsdl:definitions) is the root element of a WSDL document. Stylus Studio creates the Definitions element for you when you create a new WSDL document. (See Creating a WSDL Document in Stylus Studio.) The Definitions element defines the set of services that the Web service offers. You can use the Diagram > Add or the Definitions element's short-cut menu (right-click, select Add) to define the following elements as children of the Definitions element:
l Types (wsdl:types)
l Service (wsdl:service)
l Message (wsdl:message)
l Port type (wsdl:portType)
l Binding (wsdl:service)
l Documentation (wsdl:documentation)
Importing a WSDL DocumentYou can import one WSDL document into another. You might want to do this, for example, if you have established a WSDL document as a repository for Messages you want to be able to across different Web services. Once you do this, you can use elements defined in the imported WSDL as you would locally defined elements. See Importing WSDL Documents for more information. Definitions Element PropertiesThe following table describes the properties of the Definitions element. |