From d7d56db13c2c525f5b76ca9cbda06c41d139e94f Mon Sep 17 00:00:00 2001 From: Oliver Burke Date: Fri, 17 Dec 2021 11:59:24 +0000 Subject: [PATCH] update SoapClient send method update the soapenv with results of sending method in plugins --- suds/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)