WSDL documents are represented in Enterprise Architect by UML components stereotyped as «WSDL». These components are modeled as direct child elements of the top-level WSDL namespace package. You can create multiple WSDL documents for a single namespace, thus enabling the services for that namespace to be reused and exposed as required across multiple WSDLs.
To define new WSDL document components for your namespace, follow the steps below:
- Open the Overview diagram defined for your WSDL namespace package, and drag the WSDL element from the Toolbox onto the diagram. The WSDL Document Properties dialog displays.
- Type in the Name and File Name for the document.
- The XMLNS panel lists the default XML namespaces used by the document. If required, click on the New button to add further namespaces.
You can also delete any namespace entries that you add. It is recommended that you do not delete any of the default entries, as it may cause an invalid WSDL document to be generated.
- Select one or more services that should be exposed by this document. The list of available services is populated from the Services package.
- Click on the OK button.
You can edit the WSDL-specific properties of the document later by double-clicking the component in the diagram or the Project Browser. Alternatively, click on the UML button in the WSDL Document Properties dialog to invoke the standard Properties dialog for a package. (This button does not display on the initial WSDL Document Properties dialog for a new WSDL element.)