Package ndg :: Package soap :: Package server :: Package wsgi :: Module zsi :: Class SOAPBindingMiddleware
[hide private]

Class SOAPBindingMiddleware

source code


Interface to apply a ZSI ServiceSOAPBinding type SOAP service

Instance Methods [hide private]
 
__init__(self, app) source code
 
_getServiceSOAPBinding(self) source code
 
_setServiceSOAPBinding(self, value)
Instance must be ZSI ServiceSOAPBinding derived type
source code
 
_getServiceSOAPBindingKeyName(self) source code
 
_setServiceSOAPBindingKeyName(self, value)
Instance must be ZSI ServiceSOAPBindingKeyName derived type
source code
 
_getEnableWSDLQuery(self) source code
 
_setEnableWSDLQuery(self, value) source code
 
initialise(self, global_conf, prefix='', **app_conf)
Set-up ZSI SOAP Binding middleware interface attributes.
source code
 
__call__(self, environ, start_response) source code

Inherited from ZSIMiddleware: addFilter2Environ, exception2SOAPFault, parseRequest, writeResponse

Class Methods [hide private]

Inherited from ZSIMiddleware: getSOAPWriter, setSOAPWriter

Class Variables [hide private]
  SERVICE_SOAP_BINDING_CLASSNAME_OPTNAME = 'serviceSOAPBindingCl...
  SERVICE_SOAP_BINDING_PROPPREFIX_OPTNAME = 'serviceSOAPBindingP...
  DEFAULT_SERVICE_SOAP_BINDING_PROPPREFIX_OPTNAME = 'ndg.securit...
  SERVICE_SOAP_BINDING_ENVIRON_KEYNAME_OPTNAME = 'serviceSOAPBin...
  DEFAULT_SERVICE_SOAP_BINDING_ENVIRON_KEYNAME = 'ndg.security.s...
  ENABLE_WSDL_QUERY_OPTNAME = 'enableWSDLQuery'
  DEFAULT_ENABLE_WSDL_QUERY_VALUE = False
  SOAP_METHOD_STRING = 'soap_%s'
  serviceSOAPBinding = property(fget= _getServiceSOAPBinding, fs...
  serviceSOAPBindingKeyName = property(fget= _getServiceSOAPBind...
  enableWSDLQuery = property(fget= _getEnableWSDLQuery, fset= _s...

Inherited from ZSIMiddleware: CHARSET_OPTNAME, DEFAULT_CHARSET, FILTER_ID_OPTNAME, PARSED_SOAP_KEYNAME, PATH_OPTNAME, PUBLISHED_URI_OPTNAME, READER_CLASS_OPTNAME, REFERENCED_FILTERS_OPTNAME, SOAP_WRITER_KEYNAME, WRITERCLASS_OPTNAME, WRITE_RESPONSE_OPTNAME, charset, filterID, path, pathMatch, publishedURI, readerClass, writeResponseSet, writerClass

Method Details [hide private]

__init__(self, app)
(Constructor)

source code 
Overrides: ZSIMiddleware.__init__

initialise(self, global_conf, prefix='', **app_conf)

source code 
Set-up ZSI SOAP Binding middleware interface attributes.
 Overloaded base class method to enable custom settings from app_conf

@type global_conf: dict        
@param global_conf: PasteDeploy global configuration dictionary
@type prefix: basestring
@param prefix: prefix for configuration items
@type app_conf: dict        
@param app_conf: PasteDeploy application specific configuration 
dictionary

Parameters:
  • global_conf - PasteDeploy global configuration dictionary
  • prefix - prefix for configuration items
  • app_conf - PasteDeploy application specific configuration dictionary
Overrides: ZSIMiddleware.initialise

__call__(self, environ, start_response)
(Call operator)

source code 
Overrides: ZSIMiddleware.__call__

Class Variable Details [hide private]

SERVICE_SOAP_BINDING_CLASSNAME_OPTNAME

Value:
'serviceSOAPBindingClass'

SERVICE_SOAP_BINDING_PROPPREFIX_OPTNAME

Value:
'serviceSOAPBindingPropPrefix'

DEFAULT_SERVICE_SOAP_BINDING_PROPPREFIX_OPTNAME

Value:
'ndg.security.server.wsgi.zsi.serviceSOAPBinding.'

SERVICE_SOAP_BINDING_ENVIRON_KEYNAME_OPTNAME

Value:
'serviceSOAPBindingEnvironKeyName'

DEFAULT_SERVICE_SOAP_BINDING_ENVIRON_KEYNAME

Value:
'ndg.security.servier.wsgi.zsi.serviceSOAPBinding'

serviceSOAPBinding

Value:
property(fget= _getServiceSOAPBinding, fset= _setServiceSOAPBinding, d\
oc= "Instance of ZSI ServiceSOAPBinding " "derived type determines the\
 behaviour " "of the SOAP callbacks")

serviceSOAPBindingKeyName

Value:
property(fget= _getServiceSOAPBindingKeyName, fset= _setServiceSOAPBin\
dingKeyName, doc= "Keyword to key WSGI environ for " "SOAP Binding mid\
dleware instance")

enableWSDLQuery

Value:
property(fget= _getEnableWSDLQuery, fset= _setEnableWSDLQuery, doc= "E\
nable service to publish the WSDL via " "the ?wsdl query argument appe\
nded to the " "endpoint")