Package suds :: Module client :: Class RequestContext
[hide private]
[frames] | no frames]

Class RequestContext

source code

A request context. Returned when the ''nosend'' options is specified.

Instance Methods [hide private]
 
__init__(self, client, binding, envelope) source code
object
succeeded(self, reply)
Re-entry for processing a successful reply.
source code
 
failed(self, error)
Re-entry for processing a failure reply.
source code
Instance Variables [hide private]
Binding binding
The binding for this request.
Client client
The suds client.
str envelope
The request soap envelope.
Method Details [hide private]

__init__(self, client, binding, envelope)
(Constructor)

source code 
Parameters:
  • client (Client) - The suds client.
  • binding (Binding) - The binding for this request.
  • envelope (str) - The request soap envelope.

succeeded(self, reply)

source code 

Re-entry for processing a successful reply.

Parameters:
  • reply (str) - The reply soap envelope.
Returns: object
The returned value for the invoked method.

failed(self, error)

source code 

Re-entry for processing a failure reply.

Parameters:
  • error (A suds TransportError.) - The error returned by the transport.