This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Managing WSDLs

WSDL is one of many asset models supported by the WSO2 Governance Registry. Read more on Supported APIs & Standards for a complete list of asset models supported by WSO2 Governance Registry.

Users can upload WSDL files from users local file system as a Governance Archive (See Creating a Governance Archive) or import them from a given URL.

During the importing WSDL is validating and put into the registry. If the given WSDL is having any other WSDL imports, these WSDLs also going through the same process and import into the registry. All the schema/policy imports are also downloaded in to registry and put them in to the location where all the schemas/policies are stored.

Instead of them WSDL can have number of endpoints and for the endpoints Registry is creating new resources and put them in to a general location where all the endpoints are saved.

A single WSDL can have number of dependent resource at the end of import process and the WSDL resource will have associations and dependencies for those resources according to the relationship.

Tip

Registry is creating Service Resource for all the WSDL imports by default and add some of the useful data into service resource by parsing the WSDL. For example, name, namespace,WSDL URL (this is the location of WSDL stored in Registry), endpoints if available in the WSDL.

Adding a WSDL

Follow the instructions below to add a new WSDL to the Governance Registry.

1. Sign in. Enter your user name and password to log on to the Management Console.

2. Click the "Main" button to access the "Metadata" menu.

3. From the left navigation menu, under "Add," in the "Metadata" menu, select "WSDL."

4. Select whether to import WSDL from URL of upload it from a file. If importing from URL was selected, specify the URL of the WSDL and its name.

If uploading from file was selected, you can upload a single WSDL file or a ZIP file (in .zip or .gar extension) containing set of WSDL/Schema files. See Creating a Governance Archive. Use the "Browse" button to upload a file.

5. Click on the "Add" button.

WSDL Validation

WS-I Standards are some of many standards supported by the WSO2 Governance Registry. Read more on Supported APIs & Standards for a complete list of standards supported by WSO2 Governance Registry.

WSO2 Governance Registry validates each WSDL file during the first addition. It will also validation any WSDL imports such as XML Schemas.

Tip

Validation each WSDL file as it is being added can become an expensive operation. WSDL validation can be disabled by setting the disableWSDLValidation property to true in the respective handler configurations. The WSDLMediaTypeHandler, ZipWSDLMediaTypeHandler, and ServiceMediaTypeHandler support this configuration. The For more information on how to configure handlers please read Handler Configuration Details.

The WSO2 Governance Registry uses the WSDL Validator from the Eclipse WTP project. This validator supports:

  • WS-I Basic Profile (BP)
  • WS-I Simple Soap Binding Profile (SSBP)
  • WS-I Attachments Profile (AP)
  • WS-I Basic Security Profile (BSP)
Additional validation rules can be defined using handlers. See Resource Content Validation Sample.

List WSDLs

  1. All the added WSDLs can be viewed under List WSDLs.



  2. Information such as WSDL NameWSDL Namespace, Life Cycle status,Actions and Dependency tree are illustrated about WSDLs.



  3. A WSDL can be selected by the name of the WSDL. 



  4. The visualize view provides a custom UI to that particular WSDL, which would illustrates information about the content of the WSDL.