Package suds :: Module plugin :: Class MessagePlugin
[hide private]
[frames] | no frames]

Class MessagePlugin

source code

Plugin --+
         |
        MessagePlugin

The base class for suds soap message plugins.

Instance Methods [hide private]
 
marshalled(self, context)
Suds will send the specified soap envelope.
source code
 
sending(self, context)
Suds will send the specified soap envelope.
source code
 
received(self, context)
Suds has received the specified reply.
source code
 
parsed(self, context)
Suds has sax parsed the received reply.
source code
 
unmarshalled(self, context)
Suds has unmarshalled the received reply.
source code
Method Details [hide private]

marshalled(self, context)

source code 

Suds will send the specified soap envelope. Provides the plugin with the opportunity to inspect/modify the envelope Document before it is sent.

Parameters:
  • context (MessageContext) - The send context. The envelope is the envelope docuemnt.

sending(self, context)

source code 

Suds will send the specified soap envelope. Provides the plugin with the opportunity to inspect/modify the message text it is sent.

Parameters:
  • context (MessageContext) - The send context. The envelope is the envelope text.

received(self, context)

source code 

Suds has received the specified reply. Provides the plugin with the opportunity to inspect/modify the received XML text before it is SAX parsed.

Parameters:
  • context (MessageContext) - The reply context. The reply is the raw text.

parsed(self, context)

source code 

Suds has sax parsed the received reply. Provides the plugin with the opportunity to inspect/modify the sax parsed DOM tree for the reply before it is unmarshalled.

Parameters:
  • context (MessageContext) - The reply context. The reply is DOM tree.

unmarshalled(self, context)

source code 

Suds has unmarshalled the received reply. Provides the plugin with the opportunity to inspect/modify the unmarshalled reply object before it is returned.

Parameters:
  • context (MessageContext) - The reply context. The reply is unmarshalled suds object.