Module Soap

SOAP

SOAP wrapper

class pywps.Soap.SOAP(document=None)

Soap wrapper, used for parsing requests, which are in Soap envelope and creating Soap responses from normal XMLs.

Note

This class is very primitive, it does not support advanced Soap features, ralike authorization and so on.

getResponse(document, soapVersion, isSoapExecute, isPromoteStatus)

Wrap document into soap envelope

getWPSContent()

Get the specific WPS XML content of inside the SOAP request. The Element position may change if there is a SOAP header or if is was sent as a message inside the Body content The script will check for a standard WPS request or a ExecuteProcess_ one

pywps.Soap.doc_order_iter(node)

Iterates over each node in document order, returning each in turn http://www.ibm.com/developerworks/library/x-tipgenr.html

pywps.Soap.flagRemover(dummy, strXML)

Remove any char that is not allowed as Element name only (”:” | [A-Z] | “_” | [a-z]) allowed as start char. Same function as describeProcess2WSDL

pywps.Soap.getCorrectInputID(dummy, identifier)

XSLT function that converts the I/O identifier into a correct process I/O identifier. This is necessary to deal with cases like <ows:Identifier>–flag<ows:Identifier> that get converted into <flag> elements, in the WSDL description. Function will do a reverse mapping. Simple flags like -r are problematic to map since they are only one char

Table Of Contents

Previous topic

Module InAndOutputs

Next topic

Template

This Page