Skip to content

Commit

Permalink
Update soap.py
Browse files Browse the repository at this point in the history
Fix 400 Bad Request response to RenewRequest because Action and other addressing data is missing in the header.
#1205
  • Loading branch information
slydiman authored and mvantellingen committed Aug 15, 2021
1 parent a483c3d commit 015588d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeep/wsdl/bindings/soap.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _create(self, operation, args, kwargs, client=None, options=None):
if not options:
options = client.service._binding_options

if operation_obj.abstract.wsa_action:
if operation_obj.abstract.wsa_action or operation_obj.soapaction:
envelope, http_headers = wsa.WsAddressingPlugin().egress(
envelope, http_headers, operation_obj, options
)
Expand Down

0 comments on commit 015588d

Please sign in to comment.