Public Member Functions | Data Fields | Static Public Attributes

Binding Class Reference

Inheritance diagram for Binding:
Inheritance graph
[legend]
Collaboration diagram for Binding:
Collaboration graph
[legend]

Public Member Functions

def __init__
def __getattr__
def Receive
def __init__
def __getattr__
def Receive

Data Fields

 typesmodule
 namespace

Static Public Attributes

tuple gettypecode = staticmethod(lambda mod,e: getattr(mod, str(e.localName)).typecode)
tuple logger = _GetLogger('ZSI.client.Binding')

Detailed Description

Object that represents a binding (connection) to a SOAP server.  
Can be used in the "name overloading" style.

class attr:
    gettypecode -- funcion that returns typecode from typesmodule,
        can be set so can use whatever mapping you desire.

Definition at line 470 of file client.py.


Constructor & Destructor Documentation

def __init__ (   self,
  url,
  namespace = None,
  typesmodule = None,
  kw 
)
Parameters:
    url -- location of service
    namespace -- optional root element namespace
    typesmodule -- optional response only. dict(name=typecode), 
lookup for all children of root element.  

Definition at line 481 of file client.py.

def __init__ (   self,
  url,
  namespace = None,
  typesmodule = None,
  kw 
)
Parameters:
    url -- location of service
    namespace -- optional root element namespace
    typesmodule -- optional response only. dict(name=typecode), 
lookup for all children of root element.  

Definition at line 481 of file client.py.


Member Function Documentation

def __getattr__ (   self,
  name 
)
Return a callable object that will invoke the RPC method
named by the attribute.

Reimplemented in NamedParamBinding, and NamedParamBinding.

Definition at line 494 of file client.py.

def __getattr__ (   self,
  name 
)
Return a callable object that will invoke the RPC method
named by the attribute.

Reimplemented in NamedParamBinding, and NamedParamBinding.

Definition at line 494 of file client.py.

def Receive (   self,
  replytype,
  kw 
)
Parse message, create Python object.

KeyWord data:
    faults   -- list of WSDL operation.fault typecodes
    wsaction -- If using WS-Address, must specify Action value we expect to
receive.

Reimplemented from _Binding.

Definition at line 523 of file client.py.

def Receive (   self,
  replytype,
  kw 
)
Parse message, create Python object.

KeyWord data:
    faults   -- list of WSDL operation.fault typecodes
    wsaction -- If using WS-Address, must specify Action value we expect to
receive.

Reimplemented from _Binding.

Definition at line 523 of file client.py.


The documentation for this class was generated from the following files: