" The JAX-WS API bridge is not properly initialized" Exception

Vishnu S Kumar, modified 6 Years ago. Regular Member Posts: 131 Join Date: 7/28/17 Recent Posts
I have a soap client inside  a service builder class, and it's  throwing  this exception every time when I Invoke the service. Web service client is generated using Ant tasks in the Eclipse IDE Workbench.  Since, this is only a client , I suppose I don't need to change any settings in any of the REST/Soap Extenders. 

The fix I found:
  1. If I remove this "com.liferay.jaxws.osgi.bridge.jar" file  from osgi/core, it works fine.
  2. If I invoke this web service inside an MVC portlet module, it will work fine. So,  this issue only happens in the service builder classes.