title: Generate webservice client when WSDL uses SOAP 1.2
body: <p>I have a WSDL file which I want to generate a webservice client from. The problem is that the WSDL I've gotten uses SOAP 1.2:</p>
  
  <pre><code>&lt;wsdl:definitions xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" [...]&gt;
  </code></pre>
  
  <p>And</p>
  
  <pre><code>&lt;wsoap12:operation soapAction="[...]" /&gt;
  </code></pre>
  
  <p>When I try to generate a client from this I only get the request/response Java beans.</p>
  
  <p>If I on the other hand edit the WSDL to use SOAP 1.1 (and <em>nothing</em> else), everything generates beautifully, except that it will send SOAP 1.1 request instead of SOAP 1.2, and the server will yell at me to use 1.2 instead...</p>
  
  <p>I generate the code using Spring Tool Suite on Windows 7 by right clicking the WSDLs and selecting "Web services > Generate client". All this have worked like a charm before, when we were using SOAP 1.1.</p>
  
  <p>I've also tried to generate it with <code>wsimport</code> of the maven plugin <code>jaxws-maven-plugin</code> to no avail; it too generates only the beans, not the proxy.</p>
  
  <p>Is there a way to get this to work? Or is there some way I can modify the generated <code>*ServiceProxy.java</code> classes for them to use SOAP 1.2 instead of 1.1?</p>