title: Removing Accept in the response header of Spring Boot WS web service
body: <p>How I can remove Accept from response HTTP header of Soap web service developed in String Boot. I'm building web service from the WSDL file.</p>
  <pre><code>@Bean(name = &quot;testwebservice&quot;)
  public SimpleWsdl11Definition wsdl11Definition() {
      SimpleWsdl11Definition s = new SimpleWsdl11Definition();
      s.setWsdl(new ClassPathResource(&quot;xsd/test.wsdl&quot;));
      return s;
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/pryMN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pryMN.png" alt="enter image description here" /></a>
  <a href="https://i.stack.imgur.com/CYL2K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CYL2K.png" alt="enter image description here" /></a></p>
  <p>When we consume that Soap web service in the client application below logs created against the request.</p>
  <pre><code>10.0.10.17 - - [02/Jul/2020:12:07:19 +0500] &quot;POST /ws/test null&quot; 400 1893
  </code></pre>