title: "ContractFilter mismatch at the EndpointDispatcher" due to SOAPAction header
body: <p>I am trying to deal with some API that uses SOAP but facing an issue. I want to use that API from my site via Javascript + PHP + cUrl.</p>
  <p>Honestly, I have never worked with SOAP, so I’d better learn it, but seems I am very close to solution, so, please help me.</p>
  <p>I need to call method called <code>LoginRequest</code> by sending post request to <code>https://aisws.ingos.ru/sales-test/SalesService.svc</code> (you wont be able to access it, because it handles only a list of IPs).</p>
  <p>So I send post request:</p>
  <pre><code>POST /sales-test/SalesService.svc HTTP/1.1
  Host: aisws.ingos.ru
  User-Agent: Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
  Accept: */*
  Accept-Encoding: UTF-8
  Content-Type: text/xml
  SOAPAction: &quot;https://aisws.ingos.ru/sales-test/SalesService.svc&quot;
  Content-Length: 346
  
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:ns=&quot;http://aisws.ingos.ru/services/b2b/sales/agents/1.0/&quot;&gt;&lt;soapenv:Header/&gt;&lt;soapenv:Body&gt;&lt;ns:LoginRequest&gt;&lt;User&gt;Тут логин&lt;/User&gt;&lt;Password&gt;Тут пароль&lt;/Password&gt;&lt;/ns:LoginRequest&gt;&lt;/soapenv:Body&gt;&lt;/soapenv:Envelope&gt;
   
  </code></pre>
  <p>And get the response:</p>
  <pre><code>HTTP/1.1 500 Internal Server Error
  Content-Type: text/xml; charset=utf-8
  Content-Length: 748
  Connection: keep-alive
  Date: Fri, 06 Nov 2020 17:42:31 GMT
  X-Frame-Options: SAMEORIGIN
  X-XSS-Protection: 1; mode=block
  X-Content-Type-Options: nosniff
  
  &lt;s:Envelope xmlns:s=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
  &lt;s:Body&gt;
  &lt;s:Fault&gt;
  &lt;faultcode xmlns:a=&quot;http://schemas.microsoft.com/ws/2005/05/addressing/none&quot;&gt;a:ActionNotSupported
  &lt;/faultcode&gt;
  &lt;faultstring xml:lang=&quot;ru-RU&quot;&gt;
  The message with Action 'https://aisws.ingos.ru/sales-test/SalesService.svc' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).
  &lt;/faultstring&gt;
  &lt;/s:Fault&gt;
  &lt;/s:Body&gt;
  &lt;/s:Envelope&gt; 
  </code></pre>
  <p>Seems that I am passing the wrong stuff in <code>SOAPAction</code> header.</p>
  <p>What should I do?</p>