I have exposed a web service however when client trying to consume the service I can see there is a ClassCastException
exception in the server log. and request is not reaching the web service. When I am trying to call the web service it is working from SOAP UI
.
java.lang.ClassCastException: com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to com.sun.xml.bind.api.JAXBRIContext.
I have tried using these two solution
ClassCastException: Cannot be cast to com.sun.xml.internal.bind.v2.runtime.reflect.Accessor
However in my weblogic
folder I could not find the conflicting jar.