spacer
Yehuda Shiran November 11, 2001
The WSDL's binding Element
Tips: November 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Each binding element in the Web service's description file describes a supported protocol. Similar to the portType element, the binding element includes supported operations, as well as the input and output for each operation. The bindings provide concrete information on what protocol is being used, how the data is being transported, and where the service is located. For SOAP protocol, the binding is <soap:binding>, and the transport is SOAP messages on top of HTTP protocol. Here is the binding element from the Temperature - Weather Web service:

<binding name="TemperatureBinding" type="tns:TemperaturePortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> 
    <operation name="getTemp">
      <soap:operation soapAction="" /> 
        <input>
          <soap:body use="encoded" namespace="urn:xmethods-Temperature" 
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> 
        </input>
        <output>
          <soap:body use="encoded" namespace="urn:xmethods-Temperature" 
            encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /> 
        </output>
    </operation>
</binding>

People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint