| | |
- MessageWriter
- SchemaDescription
- SchemaItemWriter
-
- ElementWriter
- TypeWriter
- ServiceDescription
- WriteServiceModule
class ElementWriter(SchemaItemWriter) |
| |
contains/generates a single declaration |
| |
Methods defined here:
- fromSchemaItem(self, item)
- set up global elements.
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
Methods inherited from SchemaItemWriter:
- __init__(self, do_extended=False, extPyClasses=None)
- __str__(self)
- this appears to set up whatever is in self.content.localElements,
local elements simpleType|complexType.
|
class MessageWriter |
| | |
Methods defined here:
- __init__(self, do_extended=False)
- Representation of a WSDL Message and associated WSDL Binding.
operation --
boperation --
input --
rpc --
literal --
simple --
- __str__(self)
- setUp(self, soc, port, input=False)
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
|
class SchemaDescription |
| |
generates classes for defs and decs in the schema instance. |
| |
Methods defined here:
- __init__(self, do_extended=False, extPyClasses=None)
- fromSchema(self, schema)
- Can be called multiple times, but will not redefine a
previously defined type definition or element declaration.
- getElements(self)
- getTypes(self)
- write(self, fd)
- write out to file descriptor.
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
|
class SchemaItemWriter |
| |
contains/generates a single declaration |
| |
Methods defined here:
- __init__(self, do_extended=False, extPyClasses=None)
- __str__(self)
- this appears to set up whatever is in self.content.localElements,
local elements simpleType|complexType.
- fromSchemaItem(self, item)
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
|
class ServiceDescription |
| |
client interface - locator, port, etc classes |
| |
Methods defined here:
- __init__(self, addressing=False, do_extended=False, wsdl=None)
- fromWsdl(self, service, **kw)
- setTypesModuleName(self, name, modulePath=None)
- The types module to be imported.
Parameters
name -- name of types module
modulePath -- optional path where module is located.
- write(self, fd, msg_fd=None)
- write out module to file descriptor.
fd -- file descriptor to write out service description.
msg_fd -- optional file descriptor for messages module.
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
- separate_messages = False
|
class TypeWriter(SchemaItemWriter) |
| |
contains/generates a single definition |
| |
Methods defined here:
- fromSchemaItem(self, item)
Data and other attributes defined here:
- logger = <ZSI.wstools.logging.BasicLogger instance>
Methods inherited from SchemaItemWriter:
- __init__(self, do_extended=False, extPyClasses=None)
- __str__(self)
- this appears to set up whatever is in self.content.localElements,
local elements simpleType|complexType.
|
class WriteServiceModule |
| |
top level driver class invoked by wsd2py
class variables:
client_module_suffix -- suffix of client module.
types_module_suffix -- suffix of types module. |
| |
Methods defined here:
- __init__(self, wsdl, addressing=False, notification=False, do_extended=False, extPyClasses=None, configParser=None)
- gatherNamespaces(self)
- This method must execute once.. Grab all schemas
representing each targetNamespace.
- getClientModuleName(self)
- client module name.
- getTypesModuleName(self)
- types module name.
- getTypesModulePath(self)
- module path to types module eg. MyApp.types
- setClientModulePath(self, path)
- setup module path to where client module before calling fromWsdl.
module path to types module eg. MyApp.client
- setTypesModuleName(self, name)
- setTypesModulePath(self, path)
- setup module path to where service module before calling fromWsdl.
module path to types module eg. MyApp.types
- writeClient(self, fd, sdClass=None, **kw)
- write out client module to file descriptor.
Parameters and Keywords arguments:
fd -- file descriptor
sdClass -- service description class name
imports -- list of imports
readerclass -- class name of ParsedSoap reader
writerclass -- class name of SoapWriter writer
- writeTypes(self, fd)
- write out types module to file descriptor.
Data and other attributes defined here:
- client_module_suffix = '_client'
- logger = <ZSI.wstools.logging.BasicLogger instance>
- messages_module_suffix = '_messages'
- types_module_suffix = '_types'
| |