3 Replies Latest reply on Jun 26, 2011 9:19 PM by Willem Jiang

    SoapBinding Class not Visible from ClassLoader

    Lynn Diehl Newbie

      In servicemix, I am encountering the following exception when trying to call an external webservice from my Java bean component:

       

      org.apache.cxf.tools.common.extensions.soap.SoapBinding is not visible from class loader

       

      I found that this is an issue that has been reported.  Refer to this link to view the issue:  https://issues.apache.org/jira/browse/CXF-3184

       

      I am hoping to find a work-around to this problem since we cannot upgrade to a new version of cxf.  In the above link, it mentions the following work-around:

       

      "To avoid it we would to set context classloader to CXF bundle one before calling CXF code that causes this exception or import the cxf packages in our bundle and set context classloader to our bundle's one. "

       

      I was hoping someone could provide more details on these work-arounds.  I did import the cxf packages in my bundle, but how do I "set context classloader to our bundle's one".

       

      Thank You