- I have an interceptor declaring a dependency on org.apache.xmlbeans:xmlbeans:2.4.0 to parse and bind XML into Java objects.
- Configure the component (BC SOAP) with this interceptor:
- package all needed jar (including xmlbeans-2.4.0.jar),
- declare the interceptor into the JBI descriptor on both ACCEPT and ACCEPT-RESPONSE phases
The interceptor is not able to parse and bind my XML.
After analysis, the problem is due to a library conflict on XmlBeans: the BC SOAP already provides another version of XmlBean: 2.1.0 (xbean-2.1.0.jar through Axis2. Perhaps, a classloader isolation should be implemented to isolate interceptors and the component ?