I have a service client generated from wsdl. I am trying to call the remote service and I recieve the conduit initiator error seen below. I have tried numerous solutions w
I was also facing the same issue. Through IntelliJ everything was working fine but maven surefire was throwing up error. And finally found the answer. Here it is:
Basically the cxf libraries each supply a META-INF/cxf/bus-extensions.txt file and the default behavior of the packager is to replace that file, causing it to be incomplete. By configuring the shader to append instead of replace the cxf stuff will behave correctly.
Add this to your build section of your pom in the plugins section:
org.apache.maven.plugins
maven-shade-plugin
1.4
true
package
shade
META-INF/cxf/bus-extensions.txt
*:*
META-INF/*.SF
META-INF/*.DSA
META-INF/*.RSA