Petals BC SOAP

Unable to use interceptor depending on org.apache.xmlbeans:xmlbeans:2.4.0

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.0.7
  • Fix Version/s: 4.1
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide
    1. I have an interceptor declaring a dependency on org.apache.xmlbeans:xmlbeans:2.4.0 to parse and bind XML into Java objects.
    2. 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 ?

    Show
    1. I have an interceptor declaring a dependency on org.apache.xmlbeans:xmlbeans:2.4.0 to parse and bind XML into Java objects.
    2. 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 ?
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Tue, 20 Sep 2011 - 17:37:19 +0200
    Updated:
    Mon, 5 Oct 2015 - 14:38:38 +0200
    Resolved:
    Mon, 5 Oct 2015 - 14:38:38 +0200