title: How to remove the action parameter from HTTP Content-type of SOAP request?
body: <p>I have a 3rd party web service, here is a part of it's WSDL:</p>
  
  <pre><code>&lt;wsdl:operation name="PerformOperation"&gt;
    &lt;soap12:operation soapAction=""/&gt;
    &lt;wsdl:input name="PerformOperationRequest"&gt;
      &lt;soap12:body use="literal"/&gt;
    &lt;/wsdl:input&gt;
    &lt;wsdl:output name="PerformOperationResponse"&gt;
      &lt;soap12:body use="literal"/&gt;
    &lt;/wsdl:output&gt;
  &lt;/wsdl:operation&gt;
  </code></pre>
  
  <p>Notice that soapAction is empty, but for some reason the service can't process requests which Content-type contains action="", 3rd party support says that requests shouldn't contain action parameter at all to be processed.</p>
  
  <p>I've used JAX-WS to generate necessary objects by the WSDL and now my requests have the next Content-type in the HTTP header:</p>
  
  <pre><code>Content-type: application/soap+xml;charset="utf-8";action=""
  </code></pre>
  
  <p>I wonder how to get rid of the empty action parameter in the Content-type?</p>