diff options
author | jortel <devnull@localhost> | 2010-05-12 16:00:22 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2010-05-12 16:00:22 +0000 |
commit | 22468cdbf9c5448b20c4c098aad58fdce9886a81 (patch) | |
tree | 6b6d0e57b11dca213761059aa1bc4f12fc3863a3 | |
parent | 695027feedfc08f050efd3796b67aba5f1a34469 (diff) | |
download | suds-22468cdbf9c5448b20c4c098aad58fdce9886a81.tar.gz |
Pass Plugin.onSend() the soap envelope root Element instead of the Document.
-rw-r--r-- | suds/__init__.py | 2 | ||||
-rw-r--r-- | suds/client.py | 2 | ||||
-rw-r--r-- | suds/plugin.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/suds/__init__.py b/suds/__init__.py index 3799470..c919937 100644 --- a/suds/__init__.py +++ b/suds/__init__.py @@ -27,7 +27,7 @@ import sys # __version__ = '0.4' -__build__="(beta) R681-20100511" +__build__="(beta) R684-20100512" # # Exceptions diff --git a/suds/client.py b/suds/client.py index 0516046..d492fff 100644 --- a/suds/client.py +++ b/suds/client.py @@ -624,7 +624,7 @@ class SoapClient: try: self.last_sent(Document(msg)) plugins = PluginContainer(self.options.plugins) - plugins.onSend(envelope=msg) + plugins.onSend(envelope=msg.root()) request = Request(location, str(msg)) request.headers = self.headers() reply = transport.send(request) diff --git a/suds/plugin.py b/suds/plugin.py index 5172565..bc8071f 100644 --- a/suds/plugin.py +++ b/suds/plugin.py @@ -53,7 +53,7 @@ class LoadContext(Context): class SendContext(Context): """ The context for sending the soap envelope. - @ivar envelope: The soap envelope to be sent. + @ivar envelope: The soap envelope I{root} element to be sent. @type envelope: L{sax.Element} """ pass |