<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120821123" />
  <subtitle>Make SOAP client OOTB in Liferay 7.3 and Java 11</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120821123</id>
  <updated>2026-04-03T20:23:14Z</updated>
  <dc:date>2026-04-03T20:23:14Z</dc:date>
  <entry>
    <title>RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121162508" />
    <author>
      <name>Mario González</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121162508</id>
    <updated>2021-10-20T12:20:39Z</updated>
    <published>2021-09-22T15:49:14Z</published>
    <summary type="html">&lt;p&gt;Hi. I was facing the exact same issue, migrating from JDK8 to JDK11,
  in Liferay 7.3, and found this post after visiting several more. In
  the end, I've managed to find another solution, just in case is better
  for other cases.&lt;/p&gt;
&lt;p&gt;First, I've generated all the required SOAP classes with apache cxf,
  but important, using the same version included with Liferay, in my
  case, apache-cxf-3.2.4. This is required to not depend on jar version
  not included with Liferay bundle. All the problems I faced where
  related to the fact that previously I used a newer apache cxf version,
  so then newer jws-api and jaxws-api where required&lt;/p&gt;
&lt;p&gt;After that, only these 2 dependencies required in pom.xml:&lt;/p&gt;
&lt;p&gt;&amp;lt;dependency&amp;gt;&lt;br /&gt;           
   &amp;lt;groupId&amp;gt;javax.xml.ws&amp;lt;/groupId&amp;gt;&lt;br /&gt;           
   &amp;lt;artifactId&amp;gt;jaxws-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;           
   &amp;lt;version&amp;gt;2.3.0&amp;lt;/version&amp;gt;&lt;br /&gt;  &amp;lt;/dependency&amp;gt;&lt;br /&gt;
   &amp;lt;dependency&amp;gt;&lt;br /&gt;           
   &amp;lt;groupId&amp;gt;javax.jws&amp;lt;/groupId&amp;gt;&lt;br /&gt;           
   &amp;lt;artifactId&amp;gt;javax.jws-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;           
   &amp;lt;version&amp;gt;1.1&amp;lt;/version&amp;gt;&lt;br /&gt;  &amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;Both of them are present, so no other changes in bnd.bnd or whatever
  are required. When deploying the module, there are no dependency
  errors. But to avoid errors on execution, I've had to
  add resolver-20050927.jar on webapps/ROOT/WEB-INF/lib folder
  (check https://stackoverflow.com/questions/58319199/java-lang-classnotfoundexception-com-sun-org-apache-xml-internal-resolver-catal).
  Yes, it's supposed not to use in JDK version over 8, but, maybe
  related to the jax version Liferay includes, I haven't found the way
  to get rid of it.&lt;/p&gt;
&lt;p&gt;Finally, I had to specify this jvm option on setenv.sh:&lt;/p&gt;
&lt;p&gt;-Djavax.xml.ws.spi.Provider=com.sun.xml.ws.spi.ProviderImpl&lt;/p&gt;
&lt;p&gt;If not specified, I ended up with the following exception:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;Provider com.sun.xml.internal.ws.spi.ProviderImpl not found&lt;/code&gt;&lt;/pre&gt;</summary>
    <dc:creator>Mario González</dc:creator>
    <dc:date>2021-09-22T15:49:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120933693" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120933693</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2021-07-09T20:49:57Z</published>
    <summary type="html">&lt;p&gt;Thank you Fabian foe your help,&lt;/p&gt;
&lt;p&gt;Now it works for us.&lt;/p&gt;
&lt;p&gt;We have to create a fragment to export the package CXF JAWS SPI with
  7.3 version.&lt;/p&gt;
&lt;p&gt;After that we use the CXF plugin in 3.3.0 version.&lt;/p&gt;
&lt;p&gt;But for the maven dependency we use the 3.2.5 version.&lt;/p&gt;
&lt;p&gt;Here the maven dependencies we have use :&lt;/p&gt;
&lt;p&gt;&amp;lt;dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;groupId&amp;gt;javax.xml.bind&amp;lt;/groupId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;artifactId&amp;gt;jaxb-api&amp;lt;/artifactId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;version&amp;gt;2.3.1&amp;lt;/version&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;groupId&amp;gt;javax.xml.ws&amp;lt;/groupId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;artifactId&amp;gt;jaxws-api&amp;lt;/artifactId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;version&amp;gt;2.3.1&amp;lt;/version&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;groupId&amp;gt;javax.jws&amp;lt;/groupId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;artifactId&amp;gt;javax.jws-api&amp;lt;/artifactId&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;version&amp;gt;1.1&amp;lt;/version&amp;gt;&lt;/p&gt;
&lt;p&gt;    &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt; &amp;lt;dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;        &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;/p&gt;
&lt;p&gt;        &amp;lt;artifactId&amp;gt;cxf-rt-frontend-jaxws&amp;lt;/artifactId&amp;gt;&lt;/p&gt;
&lt;p&gt;        &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;/p&gt;
&lt;p&gt;        &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;The important is to use the same dependencies of Liferay to have no conflict.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you SO much for your help Fabian,&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2021-07-09T20:49:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120926585" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120926585</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2021-07-07T21:19:26Z</published>
    <summary type="html">&lt;p&gt;Here are the errors we have in the logs :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;The javax.jws.WebService annotation was already loaded by another classloader. Please check if there are multiple versions of the web service annotation jar in your classpath.
...
No method was found for the WSDL operation {http://xmlns.example.com/...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2021-07-07T21:19:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120926450" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120926450</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2021-07-07T21:12:21Z</published>
    <summary type="html">&lt;p&gt;Hi Fabian,&lt;/p&gt;
&lt;p&gt;In Liferay DXP 7.3 the version is 4.0.23 and the version of CXF is
  3.2.14, so we create the fragment like this : &lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Bundle-Name: Liferay Portal Remote SOAP Extender Implementation Fragment
Bundle-SymbolicName: test.remote-soap-extender
Bundle-Version: 1.0.0
Fragment-Host: com.liferay.portal.remote.soap.extender.impl;bundle-version=&amp;quot;4.0.23&amp;quot;
Export-Package: org.apache.cxf.jaxws.spi;version=3.2.14&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And in our module we import the same dependency (3.2.14) :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;		&amp;lt;dependency&amp;gt;
		    &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;
		    &amp;lt;artifactId&amp;gt;cxf-rt-frontend-jaxws&amp;lt;/artifactId&amp;gt;
		    &amp;lt;version&amp;gt;3.2.14&amp;lt;/version&amp;gt;
		    &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;
		&amp;lt;/dependency&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It seems to be better but after (the compilation is OK) but we need
  to exclude many packages:&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Import-Package:\
	!com.sun.*,\
	\
	!javax.validation.*,\
	\
	!net.sf.cglib.proxy.*,\
	\
	!org.apache.abdera.*,\
	!org.apache.aries.*,\
	!org.apache.cxf.aegis.*,\
	!org.apache.cxf.ws.policy.*,\
	!org.apache.neethi.*,\
	!org.apache.velocity.*,\
	!org.apache.xml.resolver.*,\
	!org.apache.xmlbeans.*,\
	\
	!org.junit.*,\
	\
	!org.jvnet.fastinfoset.*,\
	!org.jvnet.staxex.*,\
	\
	!org.osgi.service.blueprint.*,\
	\
	!org.relaxng.datatype.*,\
	\
	!org.slf4j.spi.*,\
	\
	!org.springframework.*,\
	\
	org.apache.cxf.jaxws.spi,\
	*&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And we still have an error with operation not found in wsdl...&lt;/p&gt;
&lt;p&gt;After many hours and many days of work, we don't find a issue to this
  problem.&lt;br /&gt; The same module works in java 8. Will it be possible to
  share an exemple of a SOAP client in Maven with java 11 ?&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2021-07-07T21:12:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120924533" />
    <author>
      <name>Fabian Bouché</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120924533</id>
    <updated>2021-07-07T14:10:13Z</updated>
    <published>2021-07-07T13:35:05Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;Indeed, you need to create a fragment to have an existing bundle
  export it.&lt;/p&gt;
&lt;p&gt;In my DXP 7.2 setup, I got this:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;Bundle-Name: cxf-provider-fragment
Bundle-SymbolicName: com.liferay.sample.fbo.cxf.provider.fragment
Fragment-Host:  com.liferay.portal.remote.soap.extender.impl
Export-Package: org.apache.cxf.jaxws.spi;version=3.2.5&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;You'll have to use the gogo shell to check the actual version of the
  package you are exporting.&lt;/p&gt;
&lt;p&gt;My strategy relies on having my soap client use the same cxf version
  as liferay.&lt;/p&gt;
&lt;p&gt;Sorry, I'd have to create a proper sample project for this. It's not
  inside of a repo I can share.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Fabian&lt;/p&gt;</summary>
    <dc:creator>Fabian Bouché</dc:creator>
    <dc:date>2021-07-07T13:35:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120923909" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120923909</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2021-07-07T11:05:12Z</published>
    <summary type="html">&lt;p&gt;Thank you Fabian,&lt;/p&gt;
&lt;p&gt;I have try what you have explain but I have this error :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;    Unresolved requirement: Import-Package: org.apache.cxf.jaxws.spi; version=&amp;quot;[3.4.0,4.0.0)&amp;quot;_ [Sanitized]
    at org.eclipse.osgi.container.Module.start(Module.java:444)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is it possible to share your project ? (and specialy your pom.xml et bnd.bnd)&lt;/p&gt;
&lt;p&gt;Here is the dependency we have added :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;        &amp;lt;dependency&amp;gt;
            &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;
            &amp;lt;artifactId&amp;gt;cxf-rt-frontend-jaxws&amp;lt;/artifactId&amp;gt;
            &amp;lt;version&amp;gt;3.4.0&amp;lt;/version&amp;gt;
        &amp;lt;/dependency&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If we use another version under than 3.4.0 (we try 3.2.14), we have
  pb with the cxf-pluggin :&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;Failed to execute goal org.apache.cxf:cxf-codegen-plugin:3.2.14:wsdl2java&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Or do you know wich liferay module export the package
  &amp;quot;org.apache.cxf.jaxws.spi.ProviderImpl&amp;quot; ?&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2021-07-07T11:05:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120915677" />
    <author>
      <name>Fabian Bouché</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120915677</id>
    <updated>2021-07-09T20:17:30Z</updated>
    <published>2021-07-05T16:00:44Z</published>
    <summary type="html">&lt;p&gt;Hi Eric,&lt;/p&gt;
&lt;p&gt;I got it working this way: https://gist.github.com/fabian-bouche-liferay/bf7fdfb7c3d02052f642314b1ae7549b&lt;/p&gt;
&lt;p&gt;You'll need this explicit import in the bnd.bnd file as well:&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;Import-Package:\
	org.apache.cxf.jaxws.spi,\
	*&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It's still a bit mysterious to me (I did not have time to completely
  analyze it) but the critical part is to call the ProviderImpl
  constructor from within the @Activate annotated method.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Fabian&lt;/p&gt;</summary>
    <dc:creator>Fabian Bouché</dc:creator>
    <dc:date>2021-07-05T16:00:44Z</dc:date>
  </entry>
  <entry>
    <title>Make SOAP client OOTB in Liferay 7.3 and Java 11</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120821122" />
    <author>
      <name>Eric DARIEL</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120821122</id>
    <updated>2025-10-21T05:12:37Z</updated>
    <published>2021-06-06T20:28:41Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am doing a migration from Liferay 6.2 to Liferay 7.3 DXP in Java 11.&lt;/p&gt;
&lt;p&gt;In Java 11, the librairies to make a SOAP client have been removed.&lt;/p&gt;
&lt;p&gt;If we add them, we have differents problems.&lt;/p&gt;
&lt;p&gt;Is there a simple way to make a SOAP client OOTB ?&lt;/p&gt;
&lt;p&gt;We saw a lot of answers in this forum but this is a common
  fonctionnality, why it is SO complicated to implement it ?&lt;/p&gt;
&lt;p&gt;I give you more explainations.&lt;/p&gt;
&lt;p&gt;My client wants to migrate in Java 11. We have done the migration
  from 6.2 EE to 7.3 DXP and it works in Java 8 in Maven.&lt;/p&gt;
&lt;p&gt;But the same jar failed in Java 11. We change the target destination
  and add the new libs but it fails.&lt;/p&gt;

&lt;p&gt;        &amp;lt;maven.compiler.source&amp;gt;11&amp;lt;/maven.compiler.source&amp;gt;&lt;br /&gt;
          &amp;lt;maven.compiler.target&amp;gt;11&amp;lt;/maven.compiler.target&amp;gt;&lt;/p&gt;
&lt;p&gt;        ...&lt;/p&gt;
&lt;p&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;         
   &amp;lt;groupId&amp;gt;com.sun.xml.ws&amp;lt;/groupId&amp;gt;&lt;br /&gt;         
   &amp;lt;artifactId&amp;gt;jaxws-ri&amp;lt;/artifactId&amp;gt;&lt;br /&gt;         
   &amp;lt;version&amp;gt;2.3.4&amp;lt;/version&amp;gt;&lt;br /&gt;         
   &amp;lt;type&amp;gt;pom&amp;lt;/type&amp;gt;&lt;br /&gt;         &amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;When we look at the github source of Liferay or the differents posts,
  the way to solve this is in Gradle. We found no exemple in Maven.&lt;/p&gt;
&lt;p&gt;Here are the differents problems we have :&lt;/p&gt;
&lt;p&gt;    com.sun.xml.internal.ws.spi.ProviderImpl cannot be found&lt;/p&gt;
&lt;p&gt;To solve this we have found this answer : https://issues.liferay.com/browse/LPS-98339&lt;/p&gt;
&lt;p&gt;And It doesn't work because we need to make a client SOAP and not a
  server. But after I find another way with :&lt;/p&gt;
&lt;p&gt;thread.setContextClassLoader(myClass.class.getClassLoader())&lt;/p&gt;
&lt;p&gt;But after we have a pb with :&lt;/p&gt;
&lt;p&gt;Unresolved requirement: Import-Package: javax.jws&lt;/p&gt;
&lt;p&gt;We try to use the Liferay dependances but it fails :&lt;/p&gt;
&lt;p&gt;        &amp;lt;dependency&amp;gt;&lt;br /&gt;           
   &amp;lt;groupId&amp;gt;com.liferay&amp;lt;/groupId&amp;gt;&lt;br /&gt;           
   &amp;lt;artifactId&amp;gt;javax.jws&amp;lt;/artifactId&amp;gt;&lt;br /&gt;           
   &amp;lt;scope&amp;gt;provided&amp;lt;/scope&amp;gt;&lt;br /&gt;         &amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;We try after the official dependances :&lt;/p&gt;
&lt;p&gt;         &amp;lt;dependency&amp;gt;&lt;br /&gt;           
   &amp;lt;groupId&amp;gt;javax.jws&amp;lt;/groupId&amp;gt;&lt;br /&gt;           
   &amp;lt;artifactId&amp;gt;javax.jws-api&amp;lt;/artifactId&amp;gt;&lt;br /&gt;           
   &amp;lt;version&amp;gt;1.1&amp;lt;/version&amp;gt;&lt;br /&gt;         &amp;lt;/dependency&amp;gt;&lt;/p&gt;
&lt;p&gt;And now it works but we have to include the resource in the bnd.bnd :&lt;/p&gt;
&lt;p&gt;    -includeresource:\&lt;br /&gt;     META-INF/lib/javax.jws-api.jar=javax.jws-api-[0-9].[0-9]*.jar;lib:=true&lt;/p&gt;
&lt;p&gt;After that, the current problem is :&lt;/p&gt;
&lt;p&gt;    &amp;quot;A WebService annotation is not present on class&amp;quot;&lt;/p&gt;
&lt;p&gt;But this class is generated by CXF !  And we see the correct
  annotation on this clas !!!&lt;/p&gt;
&lt;p&gt;So we try another approch with the JAX-WS pluggin :&lt;/p&gt;
&lt;p&gt;        &amp;lt;plugin&amp;gt;&lt;br /&gt;                
  &amp;lt;groupId&amp;gt;org.codehaus.mojo&amp;lt;/groupId&amp;gt;&lt;br /&gt;                
  &amp;lt;artifactId&amp;gt;jaxws-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;        
          &amp;lt;version&amp;gt;2.6&amp;lt;/version&amp;gt;&lt;br /&gt;                
  &amp;lt;executions&amp;gt;&lt;br /&gt;                     &amp;lt;execution&amp;gt;&lt;br /&gt;  
                        &amp;lt;id&amp;gt;wsimport-from-jdk&amp;lt;/id&amp;gt;&lt;br /&gt;    
                      &amp;lt;goals&amp;gt;&lt;br /&gt;                            
  &amp;lt;goal&amp;gt;wsimport&amp;lt;/goal&amp;gt;&lt;br /&gt;                        
  &amp;lt;/goals&amp;gt;&lt;br /&gt;                     &amp;lt;/execution&amp;gt;&lt;br /&gt;    
              &amp;lt;/executions&amp;gt;&lt;/p&gt;
&lt;p&gt;    ...&lt;/p&gt;
&lt;p&gt;Before we were using the CXF plugin :&lt;/p&gt;
&lt;p&gt;        &amp;lt;groupId&amp;gt;org.apache.cxf&amp;lt;/groupId&amp;gt;&lt;br /&gt;       
           &amp;lt;artifactId&amp;gt;cxf-codegen-plugin&amp;lt;/artifactId&amp;gt;&lt;br /&gt;
                  &amp;lt;version&amp;gt;${cxf.version}&amp;lt;/version&amp;gt;&lt;br /&gt;   
               &amp;lt;executions&amp;gt;&lt;br /&gt;                   
   &amp;lt;execution&amp;gt;&lt;br /&gt;                         &amp;lt;id&amp;gt;generate-sources&amp;lt;/id&amp;gt;&lt;/p&gt;
&lt;p&gt;        ...&lt;/p&gt;
&lt;p&gt;But no sucess... Did anyone have an exemple of a client SOAP in Java
  11 with Maven ?&lt;/p&gt;
&lt;p&gt;We try to add the missing lib in tomcat/lib or tomcat/lib/ext but it
  doesn't work.&lt;/p&gt;
&lt;p&gt;Any help will be appreciated...&lt;/p&gt;
&lt;p&gt;Eric.&lt;/p&gt;</summary>
    <dc:creator>Eric DARIEL</dc:creator>
    <dc:date>2021-06-06T20:28:41Z</dc:date>
  </entry>
</feed>
