Liquid Studio 2020
WSDL Editor / Graphical Notation Overview / WSDL Definitions
In This Topic
    WSDL Definitions
    In This Topic

    Graphical Representation

    Summary

    The WSDL Definitions element contains the definition for the whole WSDL. It is the root element in the document, and as such there can be only one instance of it.

    The WSDL Definitions can contain global definitions for Service, Binding, Port Type, and Message, along with Types.

    Creating

    A WSDL Definitions entity is automatically created when you create a new WSDL document.

    Properties

    Name - The name of the WSDL.
    Target Namespace - The XML target namespace attribute of the descriptions tag (cannot be a relative URI).
     

    Sample

    The WSDL code for an empty document:

    <definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://example.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" name="WebServiceName" targetNamespace="http://example.com/" xmlns="http://schemas.xmlsoap.org/wsdl/">

        <types>

            <xs:schema elementFormDefault="qualified" targetNamespace="http://example.com/" />

        </types>

    </definitions>