Package suds :: Module serviceproxy :: Class ServiceProxy
[hide private]
[frames] | no frames]

Class ServiceProxy

source code

object --+
         |
        ServiceProxy

A lightweight soap based web service proxy.


Note: Deprecated, replaced by Client.

Instance Methods [hide private]
 
__init__(self, url, **kwargs)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
sudsobject.Object
get_instance(self, name)
Get an instance of a WSDL type by name
source code
sudsobject.Object
get_enum(self, name)
Get an instance of an enumeration defined in the WSDL by name.
source code
 
__str__(self)
str(x)
source code
 
__unicode__(self) source code
 
__getattr__(self, name) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Instance Variables [hide private]
Client __client__
A client.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, url, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • url (str) - The URL for the WSDL.
  • kwargs - keyword arguments.
  • faults (boolean) - Raise faults raised by server (default:True), else return tuple from service method invocation as (http code, object).
  • proxy (dict) - An http proxy to be specified on requests (default:{}). The proxy is defined as {protocol:proxy,}
Overrides: object.__init__

get_instance(self, name)

source code 

Get an instance of a WSDL type by name

Parameters:
  • name (str) - The name of a type defined in the WSDL.
Returns: sudsobject.Object
An instance on success, else None

get_enum(self, name)

source code 

Get an instance of an enumeration defined in the WSDL by name.

Parameters:
  • name (str) - The name of a enumeration defined in the WSDL.
Returns: sudsobject.Object
An instance on success, else None

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Instance Variable Details [hide private]

__client__

A client. Everything is delegated to the 2nd generation API.
Type:
Client