Skip to content

Commit eb1d84e

Browse files
epetrovskiCaioCSdev
authored andcommitted
fix 'list' object has no attribute 'verify'
1 parent 377d931 commit eb1d84e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/zeep/wsdl/bindings/soap.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,11 @@ def process_reply(self, client, operation, response):
216216
message_pack = None
217217

218218
if client.wsse:
219-
client.wsse.verify(doc)
219+
if isinstance(client.wsse, list):
220+
for wsse in client.wsse:
221+
wsse.verify(doc)
222+
else:
223+
client.wsse.verify(doc)
220224

221225
doc, http_headers = plugins.apply_ingress(
222226
client, doc, response.headers, operation

0 commit comments

Comments
 (0)