Skip to content

Commit 015588d

Browse files
slydimanmvantellingen
authored andcommitted
Update soap.py
Fix 400 Bad Request response to RenewRequest because Action and other addressing data is missing in the header. #1205
1 parent a483c3d commit 015588d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zeep/wsdl/bindings/soap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _create(self, operation, args, kwargs, client=None, options=None):
8181
if not options:
8282
options = client.service._binding_options
8383

84-
if operation_obj.abstract.wsa_action:
84+
if operation_obj.abstract.wsa_action or operation_obj.soapaction:
8585
envelope, http_headers = wsa.WsAddressingPlugin().egress(
8686
envelope, http_headers, operation_obj, options
8787
)

0 commit comments

Comments
 (0)