generate.containers
index
/home/groups/p/py/pywebsvcs/src/ZSI/generate/containers.py

############################################################################
# Monte M. Goode, LBNL
# See LBNLCopyright for copyright notice!
###########################################################################

 
Modules
       
ZSI.wstools.WSDLTools
ZSI.wstools.XMLSchema
ZSI
types
warnings

 
Classes
       
AttributeMixIn
ContainerBase
NamespaceClassFooterContainer
NamespaceClassHeaderContainer
ServiceContainerBase
BindingDescription
BindingDescription
ServiceDocumentLiteralMessageContainer(ServiceContainerBase, MessageContainerInterface)
ServiceHeaderContainer
ServiceLocatorContainer
ServiceOperationContainer
ServiceRPCEncodedMessageContainer(ServiceContainerBase, MessageContainerInterface)
ServiceRPCLiteralMessageContainer(ServiceContainerBase, MessageContainerInterface)
TcListComponentContainer
RPCMessageTcListComponentContainer
TypecodeContainerBase
ComplexTypeComplexContentContainer(TypecodeContainerBase, AttributeMixIn)
ComplexTypeContainer(TypecodeContainerBase, AttributeMixIn)
ElementGlobalDefContainer
ElementLocalComplexTypeContainer(TypecodeContainerBase, AttributeMixIn)
ElementLocalSimpleTypeContainer
ElementSimpleTypeContainer
MessageTypecodeContainer
SimpleTypeContainer
ComplexTypeSimpleContentContainer(SimpleTypeContainer, AttributeMixIn)
ListContainer
RestrictionContainer
UnionContainer
TypesHeaderContainer
exceptions.Exception
ContainerError
MessageContainerInterface

 
class AttributeMixIn
    for containers that can declare attributes.
Class Attributes:
    attribute_typecode -- typecode attribute name typecode dict
    built_in_refs -- attribute references that point to built-in
        types.  Skip resolving them into attribute declarations.
 
  Data and other attributes defined here:
attribute_typecode = 'self.attribute_typecode_dict'
built_in_refs = [('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType')]

 
class BindingDescription(ServiceContainerBase)
    writes out SOAP Binding class
 
class variables:
    readerclass --  
    writerclass --
    operationclass -- representation of each operation.
 
 
Method resolution order:
BindingDescription
ServiceContainerBase
ContainerBase

Methods defined here:
__init__(self, useWSA=False, do_extended=False, wsdl=None)
Parameters:
name -- binding name
property -- resource properties
useWSA   -- boolean, enable ws-addressing
name -- binding name
setUp(self, item)
This method finds all SOAP Binding Operations, it will skip 
all bindings that are not SOAP.  
item -- WSDL.Binding instance

Class methods defined here:
setOperationClass(cls, className) from __builtin__.classobj
specify an operation container class name.
setReaderClass(cls, className) from __builtin__.classobj
specify a reader class name, this must be imported
in service module.
setWriterClass(cls, className) from __builtin__.classobj
specify a writer class name, this must be imported
in service module.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
operationclass = <class generate.containers.ServiceOperationContainer>
readerclass = None
writerclass = None

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ComplexTypeComplexContentContainer(TypecodeContainerBase, AttributeMixIn)
    Represents ComplexType with ComplexContent.
 
 
Method resolution order:
ComplexTypeComplexContentContainer
TypecodeContainerBase
ContainerBase
AttributeMixIn

Methods defined here:
__init__(self, do_extended=False)
pnameConstructor(self, superclass=None)
setUp(self, tp)
complexContent/[extension,restriction]
restriction
extension
extType -- used in figuring attrs for extensions

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

Data and other attributes inherited from AttributeMixIn:
attribute_typecode = 'self.attribute_typecode_dict'
built_in_refs = [('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType')]

 
class ComplexTypeContainer(TypecodeContainerBase, AttributeMixIn)
    Represents a global complexType definition.
 
 
Method resolution order:
ComplexTypeContainer
TypecodeContainerBase
ContainerBase
AttributeMixIn

Methods defined here:
pnameConstructor(self, superclass=None)
TODO: Logic is a little tricky.  If superclass is ComplexType this is not used.
setUp(self, tp, empty=False)
Problematic, loose all model group information.
<all>, <choice>, <sequence> ..
 
   tp -- type definition
   empty -- no model group, just use as a dummy holder.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from TypecodeContainerBase:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

Data and other attributes inherited from AttributeMixIn:
attribute_typecode = 'self.attribute_typecode_dict'
built_in_refs = [('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType')]

 
class ComplexTypeSimpleContentContainer(SimpleTypeContainer, AttributeMixIn)
    Represents a ComplexType with simpleContent.
 
 
Method resolution order:
ComplexTypeSimpleContentContainer
SimpleTypeContainer
TypecodeContainerBase
ContainerBase
AttributeMixIn

Methods defined here:
getPyClassDefinition(self)
setUp(self, tp)
tp -- complexType/simpleContent/[Exention,Restriction]

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from SimpleTypeContainer:
__init__(self)
Instance Data From TypecodeContainerBase NOT USED...
   mgContent
getPythonType(self)

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

Data and other attributes inherited from AttributeMixIn:
attribute_typecode = 'self.attribute_typecode_dict'
built_in_refs = [('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType')]

 
class ContainerBase
    Base class for all Containers.
func_aname -- function that takes name, and returns aname.
 
  Methods defined here:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods defined here:
func_aname lambda name

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

 
class ContainerError(exceptions.Exception)
     Methods inherited from exceptions.Exception:
__getitem__(...)
__init__(...)
__str__(...)

 
class ElementGlobalDefContainer(TypecodeContainerBase)
    
Method resolution order:
ElementGlobalDefContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
setUp(self, element)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Dec'

Methods inherited from TypecodeContainerBase:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ElementLocalComplexTypeContainer(TypecodeContainerBase, AttributeMixIn)
    
Method resolution order:
ElementLocalComplexTypeContainer
TypecodeContainerBase
ContainerBase
AttributeMixIn

Methods defined here:
setUp(self, tp)
{'xsd':['annotation', 'simpleContent', 'complexContent',        'group', 'all', 'choice', 'sequence', 'attribute', 'attributeGroup',        'anyAttribute', 'any']}

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Dec'

Methods inherited from TypecodeContainerBase:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

Data and other attributes inherited from AttributeMixIn:
attribute_typecode = 'self.attribute_typecode_dict'
built_in_refs = [('http://schemas.xmlsoap.org/soap/encoding/', 'arrayType')]

 
class ElementLocalSimpleTypeContainer(TypecodeContainerBase)
    local simpleType container
 
 
Method resolution order:
ElementLocalSimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Dec'

Methods inherited from TypecodeContainerBase:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ElementSimpleTypeContainer(TypecodeContainerBase)
    
Method resolution order:
ElementSimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Dec'

Methods inherited from TypecodeContainerBase:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ListContainer(SimpleTypeContainer)
    SimpleType List
 
 
Method resolution order:
ListContainer
SimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from SimpleTypeContainer:
__init__(self)
Instance Data From TypecodeContainerBase NOT USED...
   mgContent
getPyClassDefinition(self)
getPythonType(self)

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class MessageContainerInterface
     Methods defined here:
setUp(self, port, soc, input)
sets the attribute _simple which represents a 
primitive type message represents, or None if not primitive.
 
soc -- WSDLTools.ServiceOperationContainer instance
port -- WSDLTools.Port instance
input-- boolean, input messasge or output message of operation.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

 
class MessageTypecodeContainer(TypecodeContainerBase)
    Used for RPC style messages, where we have 
serveral parts serialized within a rpc wrapper name.
 
 
Method resolution order:
MessageTypecodeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
__init__(self, parts=None)
getAttributeNames(self)
returns a list of anames representing the parts
of the message.
getParameterNames(self)
returns a list of pnames representing the parts
of the message.
getTypecodeList(self)
setParts(self, parts)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
NamespaceClassContainerBase = class ContainerBase
    Base class for all Containers.
func_aname -- function that takes name, and returns aname.
 
  Methods defined here:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods defined here:
func_aname lambda name

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

 
class NamespaceClassFooterContainer(ContainerBase)
     Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class NamespaceClassHeaderContainer(ContainerBase)
     Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class RPCMessageTcListComponentContainer(TcListComponentContainer)
    Container for rpc/literal rpc/encoded message typecode.
 
 
Method resolution order:
RPCMessageTcListComponentContainer
TcListComponentContainer
ContainerBase

Methods defined here:
__init__(self, qualified=True, encoded=None)
encoded -- encoded namespaceURI, if None treat as rpc/literal.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from TcListComponentContainer:
__str__(self)
setGlobalType(self, namespace, name)
setOccurs(self, min, max, nil)
setProcessContents(self, processContents)
setStyleAnyElement(self)
set the element style.
anyElement -- <any> element wildcard
setStyleElementDeclaration(self)
set the element style.
standard -- GED or local element
setStyleElementReference(self)
set the element style.
ref -- element reference
unQualified(self)
Do not qualify element.

Methods inherited from ContainerBase:
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class RestrictionContainer(SimpleTypeContainer)
    simpleType/restriction
 
 
Method resolution order:
RestrictionContainer
SimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from SimpleTypeContainer:
__init__(self)
Instance Data From TypecodeContainerBase NOT USED...
   mgContent
getPyClassDefinition(self)
getPythonType(self)

Data and other attributes inherited from SimpleTypeContainer:
type = '_Def'

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceContainerBase(ContainerBase)
     Data and other attributes defined here:
clientClassSuffix = 'SOAP'
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceDocumentLiteralMessageContainer(ServiceContainerBase, MessageContainerInterface)
    
Method resolution order:
ServiceDocumentLiteralMessageContainer
ServiceContainerBase
ContainerBase
MessageContainerInterface

Methods defined here:
__init__(self, do_extended=False)
setUp(self, port, soc, input)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceHeaderContainer(ServiceContainerBase)
    
Method resolution order:
ServiceHeaderContainer
ServiceContainerBase
ContainerBase

Methods defined here:
__init__(self, do_extended=False)
appendImport(self, statement)
append additional import statement(s).
import_stament -- tuple or list or str
setMessagesModuleName(self, module)
setTypesModuleName(self, module)

Data and other attributes defined here:
imports = ['\nimport urlparse, types', 'from ZSI.TCcompound import ComplexType, Struct', 'from ZSI import client', 'from ZSI.schema import GED, GTD', 'import ZSI']
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceLocatorContainer(ServiceContainerBase)
    
Method resolution order:
ServiceLocatorContainer
ServiceContainerBase
ContainerBase

Methods defined here:
__init__(self)
getLocatorName(self)
return class name of generated locator.
getPortMethods(self)
list of get port accessor methods of generated locator class.
setUp(self, service)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceOperationContainer(ServiceContainerBase)
    
Method resolution order:
ServiceOperationContainer
ServiceContainerBase
ContainerBase

Methods defined here:
__init__(self, useWSA=False, do_extended=False)
Parameters:
useWSA -- boolean, enable ws-addressing
do_extended -- boolean
getBOperation(self)
getOperation(self)
getOperationName(self)
hasInput(self)
hasOutput(self)
isLiteral(self, input=True)
isRPC(self)
isSimpleType(self, input=True)
setUp(self, item)
Parameters:
    item -- WSDLTools BindingOperation instance.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
ServiceOperationsClassContainer = class BindingDescription(ServiceContainerBase)
    writes out SOAP Binding class
 
class variables:
    readerclass --  
    writerclass --
    operationclass -- representation of each operation.
 
 
Method resolution order:
BindingDescription
ServiceContainerBase
ContainerBase

Methods defined here:
__init__(self, useWSA=False, do_extended=False, wsdl=None)
Parameters:
name -- binding name
property -- resource properties
useWSA   -- boolean, enable ws-addressing
name -- binding name
setUp(self, item)
This method finds all SOAP Binding Operations, it will skip 
all bindings that are not SOAP.  
item -- WSDL.Binding instance

Class methods defined here:
setOperationClass(cls, className) from __builtin__.classobj
specify an operation container class name.
setReaderClass(cls, className) from __builtin__.classobj
specify a reader class name, this must be imported
in service module.
setWriterClass(cls, className) from __builtin__.classobj
specify a writer class name, this must be imported
in service module.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
operationclass = <class generate.containers.ServiceOperationContainer>
readerclass = None
writerclass = None

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceRPCEncodedMessageContainer(ServiceContainerBase, MessageContainerInterface)
    
Method resolution order:
ServiceRPCEncodedMessageContainer
ServiceContainerBase
ContainerBase
MessageContainerInterface

Methods defined here:
setUp(self, port, soc, input)
Instance Data: 
   op    -- WSDLTools Operation instance
   bop   -- WSDLTools BindingOperation instance
   input -- boolean input/output

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class ServiceRPCLiteralMessageContainer(ServiceContainerBase, MessageContainerInterface)
    
Method resolution order:
ServiceRPCLiteralMessageContainer
ServiceContainerBase
ContainerBase
MessageContainerInterface

Methods defined here:
setUp(self, port, soc, input)
Instance Data: 
   op    -- WSDLTools Operation instance
   bop   -- WSDLTools BindingOperation instance
   input -- boolean input/output

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Data and other attributes inherited from ServiceContainerBase:
clientClassSuffix = 'SOAP'

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class SimpleTypeContainer(TypecodeContainerBase)
    
Method resolution order:
SimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
__init__(self)
Instance Data From TypecodeContainerBase NOT USED...
   mgContent
getPyClassDefinition(self)
getPythonType(self)
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class TcListComponentContainer(ContainerBase)
    Encapsulates a single value in the TClist list.
it inherits TypecodeContainerBase only to get the mangle() method,
it does not call the baseclass ctor.
 
TODO: Change this inheritance scheme.
 
  Methods defined here:
__init__(self, qualified=True)
qualified -- qualify element.  All GEDs should be qualified,
    but local element declarations qualified if form attribute
    is qualified, else they are unqualified. Only relevant for
    standard style.
__str__(self)
setGlobalType(self, namespace, name)
setOccurs(self, min, max, nil)
setProcessContents(self, processContents)
setStyleAnyElement(self)
set the element style.
anyElement -- <any> element wildcard
setStyleElementDeclaration(self)
set the element style.
standard -- GED or local element
setStyleElementReference(self)
set the element style.
ref -- element reference
unQualified(self)
Do not qualify element.

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from ContainerBase:
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class TypecodeContainerBase(ContainerBase)
    Base class for all classes representing anything
with element content.
 
class variables:
    mixed_content_aname -- text content will be placed in this attribute.
    attributes_aname -- attributes will be placed in this attribute.
    metaclass -- set this attribute to specify a pyclass __metaclass__
 
  Methods defined here:
__init__(self, do_extended=False, extPyClasses=None)
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getPyClassDefinition(self)
Return a list containing pyclass definition.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes defined here:
attributes_aname = 'attrs'
lazy = False
logger = <ZSI.wstools.logging.BasicLogger instance>
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
TypesContainerBase = class ContainerBase
    Base class for all Containers.
func_aname -- function that takes name, and returns aname.
 
  Methods defined here:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods defined here:
func_aname lambda name

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>

 
class TypesHeaderContainer(ContainerBase)
    imports for all generated types modules.
 
  Data and other attributes defined here:
imports = ['import ZSI', 'import ZSI.TCcompound', 'from ZSI.schema import LocalElementDeclaration, ElementDeclaration, TypeDefinition, GTD, GED']
logger = <ZSI.wstools.logging.BasicLogger instance>

Methods inherited from ContainerBase:
__init__(self)
__str__(self)
getAttributeName(self, name)
represents the aname
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
getvalue(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
class UnionContainer(SimpleTypeContainer)
    SimpleType Union
 
 
Method resolution order:
UnionContainer
SimpleTypeContainer
TypecodeContainerBase
ContainerBase

Methods defined here:
__init__(self)
setUp(self, tp)

Data and other attributes defined here:
logger = <ZSI.wstools.logging.BasicLogger instance>
type = '_Def'

Methods inherited from SimpleTypeContainer:
getPyClassDefinition(self)
getPythonType(self)

Methods inherited from TypecodeContainerBase:
getAttributeName(self, name)
represents the aname
getBasesLogic(self, indent)
getClassName(self)
getExtraFlags(self)
getMixedTextAName(self)
returns an aname representing mixed text content.
getPyClass(self)
Name of generated inner class that will be specified as pyclass.
getTypecodeList(self)
getvalue(self)
hasExtPyClass(self)
# --> EXTENDED
literalTag(self)
nsuriLogic(self)
set a variable "ns" that represents the targetNamespace in
which this item is defined.  Used for namespacing local elements.
pnameConstructor(self, superclass=None)
schemaTag(self)
simpleConstructor(self, superclass=None)
typeTag(self)

Data and other attributes inherited from TypecodeContainerBase:
attributes_aname = 'attrs'
lazy = False
metaclass = None
mixed_content_aname = 'text'

Methods inherited from ContainerBase:
__str__(self)
getNSAlias(self)
# - namespace utility methods
getNSModuleName(self)
mangle(self, s)
class/variable name illegalities
write(self, s)
writeArray(self, a)

Static methods inherited from ContainerBase:
func_aname lambda name

 
Data
        BTI = <ZSI.typeinterpreter.BaseTypeInterpreter instance>
DEC = '_Dec'
DEF = '_Def'
ID1 = ' '
ID2 = ' '
ID3 = ' '
ID4 = ' '
ID5 = ' '
ID6 = ' '
KW = {'ID1': ' ', 'ID2': ' ', 'ID3': ' ', 'ID4': ' ', 'ID5': ' ', 'ID6': ' '}