Qore WSDL Module Reference  0.5.1
WSDL Module

Introduction to the WSDL Module

The WSDL module provides functionality for SOAP 1.1 and 1.2.

The main purpose of this module is to provide the infrastructure for developing SOAP client and server services.

The main components of this module are as follows:

  • WebService: represents a WSDL file; an easy way to get an object of this type from a URL is by calling WSDL::WSDLLib::getWSDL()
  • WSDLLib: a class of static functions providing helper functions for the module
  • WSOperation: a class representing a single operation from a SOAP web service
  • WSMessageHelper: a class to create sample messages used by SOAP operations

See the following for modules using the WSDL module:

WSDL Module Release Notes

WSDL v0.5.1

  • added support for the FileLocationHandler module

WSDL v0.5

  • added support for the data provider API

WSDL v0.4

WSDL v0.3.8

  • fixed a bug handling complexTypes as part types (issue 2900)
  • fixed bugs handling array types (issue 2899)
  • added support for token and normalizedString types (issue 2859)
  • fixed WSDLLib::getWSDL() when passed a WSDL string with no XML preamble (issue 2857)
  • fixed handling of XSD attribute names with non-word characters (issue 2856)
  • fixed handling of simpleType definitions with union members (issue 2855)

WSDL v0.3.7

WSDL v0.3.6

  • reimplmented operation to support multi binding, operation can be assigned to more bindings
  • support for HTTP binding and content-types, "^content-type^" attribute can identify content type to be used
  • extended SOAP binding serialization and deserialization with support to both body and header

WSDL v0.3.5.1

  • supress emitting a SOAPAction header in requests if the binding gives an empty string (issue 1226)
  • updated WSDL::WSOperation::serializeRequest() to allow the SOAPAction header to be overridden in each request (issue 1226)
  • respect XML generation flags in request generation
  • fixed parsing empty base64Binary and hexBinary elements (issue 1227)

WSDL v0.3.5

WSDL v0.3.4

  • updated to a user module

WSDL v0.3.3

  • added initial support for the anyAttribute element of complexType
  • added initial support for SOAP header processing
  • added initial support for multiple portType and bindings in a WSDL

WSDL v0.3.2

  • fixed bugs de/serializing negative values for "int" and "short"

WSDL v0.3.1

  • improved XSD imports and namespace handling

WSDL v0.3.0

  • implemented WSDLLib class of helper functions
  • implemented support for xsd import statements in WSDLs

WSDL v0.2.0

  • use parseXMLAsData() instead of parseXML()
  • implemented initial simpleType support
  • fixed xsd:date serialization and deserialization