The above script returns a message with the wsa:Action tag incorrect, and produces an error by the server that the SOAP action and the HTTP action mismatch.
http://www.tourlineexpress.com/IService1/GetEtiquetaTxtPT
It should be:
http://www.tourlineexpress.com/IService1/GetEtiquetaTxt
If I change the WsAddressingPlugin in the wsa.py file, and instead of:
def egress(self, envelope, http_headers, operation, binding_options):
"""Apply the ws-addressing headers to the given envelope."""
wsa_action = operation.input.abstract.wsa_action
if not wsa_action:
wsa_action = operation.soapaction
change it to:
def egress(self, envelope, http_headers, operation, binding_options):
"""Apply the ws-addressing headers to the given envelope."""
wsa_action = operation.soapaction
it gets the correct tag:
http://www.tourlineexpress.com/IService1/GetEtiquetaTxt
Thanks in advance,
aam
Hello.
The above script returns a message with the wsa:Action tag incorrect, and produces an error by the server that the SOAP action and the HTTP action mismatch.