diff --git a/suds/client.py b/suds/client.py index f97f2d9..a21a3a5 100644 --- a/suds/client.py +++ b/suds/client.py @@ -646,7 +646,7 @@ def send(self, soapenv): else: soapenv = soapenv.plain() soapenv = soapenv.encode('utf-8') - plugins.message.sending(envelope=soapenv) + soapenv = plugins.message.sending(envelope=soapenv).envelope request = Request(location, soapenv) request.headers = self.headers() reply = transport.send(request)