| | |
- SOAPService
- ServiceModuleWriter
-
- WSAServiceModuleWriter
class ServiceModuleWriter |
| |
Creates a skeleton for a SOAP service instance. |
| |
Methods defined here:
- __init__(self, base=<class ZSI.ServiceContainer.ServiceSOAPBinding>, prefix='soap', service_class=<class generate.wsdl2dispatch.SOAPService>)
- parameters:
base -- either a class definition, or a str representing a qualified
class name (eg. module.name.classname)
prefix -- method prefix.
- fromWSDL(self, wsdl)
- setup the service description from WSDL,
should not need to override.
- getAttributeName(self, name)
- getClassName(self, name)
- return class name.
- getClientModulePath = getTypesModulePath(self)
- getIndent(self, level=1)
- return indent.
- getMethodName(self, method)
- return method name.
- getServiceModuleName(self)
- return module name.
- getTypesModuleName(self)
- return module name.
- getTypesModulePath(self)
- mangle(self, name)
- reset(self)
- setClientModuleName = setTypesModuleName(self, name)
- setClientModulePath = setTypesModulePath(self, path)
- setTypesModuleName(self, name)
- setTypesModulePath(self, path)
- setup module path to where client module before calling fromWSDL.
- setUpClassDef(self, service)
- set class definition and class variables.
service -- ServiceDescription instance
- setUpHeader(self)
- setUpImports(self)
- set import statements
- setUpInitDef(self, service)
- set __init__ function
- setUpMethods(self, port)
- set up all methods representing the port operations.
Parameters:
port -- Port that defines the operations.
- write(self, fd=<open file '<stdout>', mode 'w'>)
- write out to file descriptor,
should not need to override.
Static methods defined here:
- func_aname lambda name
Data and other attributes defined here:
- indent = ' '
- separate_messages = False
- server_module_suffix = '_server'
|
class WSAServiceModuleWriter(ServiceModuleWriter) |
| |
Creates a skeleton for a WS-Address service instance. |
| |
Methods defined here:
- __init__(self, base=<class ZSI.ServiceContainer.WSAResource>, prefix='wsa', service_class=<class generate.wsdl2dispatch.SOAPService>, strict=True)
- Parameters:
strict -- check that soapAction and input ws-action do not collide.
- setUpClassDef(self, service)
- use soapAction dict for WS-Action input, setup wsAction
dict for grabbing WS-Action output values.
- setUpMethods(self, port)
- set up all methods representing the port operations.
Parameters:
port -- Port that defines the operations.
Static methods defined here:
- createMethodBody(msgInName, msgOutName, **kw)
- return a tuple of strings containing the body of a method.
msgInName -- None or a str
msgOutName -- None or a str
Methods inherited from ServiceModuleWriter:
- fromWSDL(self, wsdl)
- setup the service description from WSDL,
should not need to override.
- getAttributeName(self, name)
- getClassName(self, name)
- return class name.
- getClientModulePath = getTypesModulePath(self)
- getIndent(self, level=1)
- return indent.
- getMethodName(self, method)
- return method name.
- getServiceModuleName(self)
- return module name.
- getTypesModuleName(self)
- return module name.
- getTypesModulePath(self)
- mangle(self, name)
- reset(self)
- setClientModuleName = setTypesModuleName(self, name)
- setClientModulePath = setTypesModulePath(self, path)
- setup module path to where client module before calling fromWSDL.
- setTypesModuleName(self, name)
- setTypesModulePath(self, path)
- setup module path to where client module before calling fromWSDL.
- setUpHeader(self)
- setUpImports(self)
- set import statements
- setUpInitDef(self, service)
- set __init__ function
- write(self, fd=<open file '<stdout>', mode 'w'>)
- write out to file descriptor,
should not need to override.
Static methods inherited from ServiceModuleWriter:
- func_aname lambda name
Data and other attributes inherited from ServiceModuleWriter:
- indent = ' '
- separate_messages = False
- server_module_suffix = '_server'
| |