title: SOAP client on Java 11
body: <p>I need to consume a SOAP service, and I have seen on the spring tutorial that my java classes for consuming and receiving the services, can be automatically generated using a tool or a framework.</p>
  <p>The thing is most tutorials rely on wsimport tool from the JDK...and after lots of hours trying I found out that for Java 11, this is deprecated.
  After this I found <a href="https://stackoverflow.com/questions/53266846/replacement-for-wsimport-with-jdk-11">this</a> ,<a href="http://openjdk.java.net/jeps/320" rel="nofollow noreferrer">this</a>, and <a href="https://stackoverflow.com/questions/48204141/replacements-for-deprecated-jpms-modules-with-java-ee-apis">this</a> talking about some workarounds for this problem. I tried all of them, but my gradle.build starts generating dependencies issues around this libraries. I have tried to exclude the problematic libraries but it doesn´t solve the issue.</p>
  <p>So I'm wondering how can I generate my SOAP client classes on a not so patched way?</p>
  <p>Additional info: It's a contract first approach, the service is on the web and it is a ?wsdl url.</p>