Liquid XML Studio
Binding
Send Feedback
WSDL Editor > Graphical Notation Overview > Binding

Glossary Item Box

Graphical Representation

Summary

The Binding element contains binding definitions for binding a protocol such as SOAP or HTTP to a Port Type via the 'type' attribute in the WSDL.

Creating

A Binding can be added as a root level item. This can be done using the right click context menu.

Properties

Name - The name of the Binding, used in the 'binding' attribute of Port.
Port Type - The Port Type to bind against.
Protocol - The protocol extension to bind. Supported extensions are: HTTP GET, HTTP POST, SOAP and SOAP 1.2.
Required - Indicates whether the Extension is necessary for the action to which it refers.

SOAP Extension Properties

Style - Specifies the type of SOAP binding to use, can be either 'document' (default value) or 'rpc'.

Transport - The URI with the specification for HTTP transmission of SOAP data.

HTTP Extension Properties

Verb - Indicates whether the HTTP request will be made using the 'GET' or 'POST' method.
 

Sample

The WSDL code for a simple SOAP Binding to a Port Type named NewPortType:

<binding name="NewBinding" type="tns:NewPortType">

    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

    <operation name="NewOperation">

        <soap:operation soapAction="" />

        <input>

            <soap:body />

        </input>

        <output>

            <soap:body />

        </output>

        <fault />

    </operation>

</binding>