python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

Fix empty SOAPAction header

Open davidolrik opened this issue 3 years ago • 1 comments

SOAPAction header should never be "None".

When self.operation.soapaction is None it was stringifyed into "None" when it should be "".

This fixed the following error when calling a Soap 1.1 service on Camunda:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>The given SOAPAction None does not match an operation.</faultstring>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

davidolrik avatar Dec 23 '21 14:12 davidolrik

+1 same issue, and fix works like a charm

jdury avatar Mar 21 '22 14:03 jdury