wsdl-0.1.0.1: WSDL parsing in Haskell

Safe HaskellSafe
LanguageHaskell2010

Text.XML.WSDL.Types

Contents

Description

A description of WSDLs. Most of the verbiage here is copied verbatim from the WSDL spec: see http://www.w3.org/TR/wsdl.

TODO: * Documentation support * Schema support

Synopsis

Documentation

data WSDL Source

Represents a WSDL document; this contains the six WSDL elements as described below, as well as name and targetNamespace as defined in the spec.

WSDL documents can be assigned an optional name attribute that serves as a lightweight form of documentation. Optionally, a targetNamespace attribute may be specified. This represents the URI associated with the WSDL.

Document elements

Type definitions

data WSDLTypes Source

Data type definitions used to describe the messages exchanged.

Messages

data WSDLMessage Source

Represents an abstract definition of the data being transmitted. A message consists of logical parts, each of which is associated with a definition within some type system.

Constructors

WSDLMessage 

Port types

data WSDLPortType Source

A set of abstract operations. Each operation refers to an input WSDLMessage and output WSDLMessages.

NB: Though the WSDL spec explicitly mentions that each operation refers to an input message, the grammar provided on the W3 site makes <input> optional. The wording of the spec, rather than the example grammar, is followed here.

data InputMessage Source

An abstract message representing input to the given operation.

Constructors

InputMessage 

data OutputMessage Source

An abstract message representing output from the given operation.

data FaultMessage Source

An abstract message representing faults returned by the given operation.

Constructors

FaultMessage 

Bindings

data WSDLBinding Source

Specifies a concrete protocol and data format specifications for the operations and messages defined by a particular WSDLPortType.

Services

Ports

data WSDLPort Source

Specifies the address for a WSDLBinding, thus defining a single communication endpoint.

Additional properties

Extensibility elements

type ExtensibilityElement = Node Source

Certain tags in a WSDL document can have additional information associated with them by way of Extensibility Elements. These are generally used to specify binding information for a specific protocol or format (e.g. SOAP).

Documentation

type Documentation = Maybe Node Source

Documentation can appear inside any WSDL element.

data Schema Source

Placeholder

Constructors

Schema