title: SOAP Action mismatch error while testing a WCF service with SoapUI
body: <p>Am testing a WCF service with a sample input in SOAPUI. when i hit the run,I get an SOAP Exception like below:</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing"&gt;
     &lt;s:Header&gt;
       &lt;a:Action s:mustUnderstand="1"&gt;http://www.w3.org/2005/08/addressing/fault&lt;/a:Action&gt;
     &lt;/s:Header&gt;
  &lt;s:Body&gt;
   &lt;s:Fault&gt;
       &lt;s:Code&gt;
          &lt;s:Value&gt;s:Sender&lt;/s:Value&gt;
          &lt;s:Subcode&gt;
             &lt;s:Value&gt;a:ActionMismatch&lt;/s:Value&gt;
          &lt;/s:Subcode&gt;
       &lt;/s:Code&gt;
       &lt;s:Reason&gt;
          &lt;s:Text xml:lang="en-US"&gt;The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://XXX.XX.XXXX/IXXXXXX/AddOrderInfromation'.&lt;/s:Text&gt;
       &lt;/s:Reason&gt;
       &lt;s:Detail&gt;
          &lt;a:ProblemHeaderQName&gt;a:Action&lt;/a:ProblemHeaderQName&gt;
       &lt;/s:Detail&gt;
    &lt;/s:Fault&gt;
   &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>In blogs, they are asking to add Soap Action . How to Add Soap Action in my request below:</p>
  
  <pre><code> &lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wkus="http://XXX.XX.XXXX/IXXXXXX"&gt;
    &lt;soap:Header /&gt;
    &lt;soap:Body&gt;
    &lt;ns1:AddOrderInfromation&gt;
       &lt;!--Optional:--&gt;
       &lt;ns1:inputsting&gt;
  &lt;ns1:AddOrderInfromation&gt;
    &lt;ns1:OrderNo&gt;4500146&lt;/ns1:OrderNo&gt;
    &lt;ns1:OrderDate&gt;08/22/2014&lt;/ns1:OrderDate&gt;
    &lt;ns1:TotalItems&gt;1&lt;/ns1:TotalItems&gt;         
  &lt;/ns1:AddOrderInfromation&gt;
   &lt;/ns1:inputsting&gt;
   &lt;/ns1:AddOrderInfromation&gt;
  </code></pre>
  
  <p>Please Suggest. Thanks in Advance</p>