Package ndg :: Package soap :: Package server :: Package wsgi :: Module middleware :: Class SOAPMiddleware
[hide private]

Class SOAPMiddleware

source code


SOAP WSGI base class

Instance Methods [hide private]
 
_str2Bool(str) source code
 
initialise(self, global_conf, **app_conf)
Set attributes from keyword dictionaries global and or app_conf
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]
 
isSOAPMessage(cls, environ)
Generic method to filter out non-soap messages
source code
 
isSOAPFaultSet(cls, environ)
Check environment for SOAP fault flag set.
source code
 
filter_app_factory(cls, app, global_conf, **app_conf)
Set-up using a Paste app factory pattern.
source code
Static Methods [hide private]
 
str2Bool(str) source code
Class Variables [hide private]
  SOAP_FAULT_SET_KEYNAME = 'ndg.security.server.wsgi.soap.soapFa...
  SOAP_ACTION_ENVIRON_KEYNAME = 'HTTP_SOAPACTION'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

isSOAPMessage(cls, environ)
Class Method

source code 

Generic method to filter out non-soap messages

TODO: is HTTP_SOAPACTION only set for WSDL doc-literal wrapped style generated content? - If so this test should be moved

isSOAPFaultSet(cls, environ)
Class Method

source code 

Check environment for SOAP fault flag set. This variable is set from exception2SOAPFault

filter_app_factory(cls, app, global_conf, **app_conf)
Class Method

source code 

Set-up using a Paste app factory pattern.

Parameters:
  • app (callable following WSGI interface) - next middleware application in the chain
  • global_conf (dict) - PasteDeploy global configuration dictionary
  • app_conf (dict) - PasteDeploy application specific configuration dictionary

initialise(self, global_conf, **app_conf)

source code 

Set attributes from keyword dictionaries global and or app_conf

Parameters:
  • global_conf (dict) - PasteDeploy global configuration dictionary
  • prefix (basestring) - prefix for configuration items
  • app_conf (dict) - PasteDeploy application specific configuration

Class Variable Details [hide private]

SOAP_FAULT_SET_KEYNAME

Value:
'ndg.security.server.wsgi.soap.soapFault'