WSDL structure

 previous contents next

  • names a <service>, specifies a <port> (URI) at which it is available and refers to a binding for the port
  • a <binding> specifies the
    • style of interaction (e.g. RPC)
    • the transport protocol used (e.g. HTTP)
    • the <operation>s defined along with encodingStyle for their <input> and <output>
  • a <portType> specifies a
    • set of named <operation>s which
    • refer to the <message>s used by each <operation> for <input> and <output>
  • a <message>
    • describes a one-way message (request or response)
    • consists of a number of <part>s referring to parameters or return values, each of which has a type (e.g. xsd:string)
  • <types> describes all data types used between client and server (XML schema is default type system)
  • GoogleSearch.wsdl provides an example

Peter Wood

8 of 14