1 Reply Latest reply on Mar 12, 2010 2:43 AM by Freeman(Yue) Fang

    ESB 4.1 - cxf jaxws:client - interface visibility problem

    Andrey Utkin Newbie


      I have tow bundles: (1) with SEI, and (2) with jaxws:client. When I deploying client bundle, I have an exception:


      java.lang.IllegalArgumentException: interface javax.xml.ws.BindingProvider is not visible from class loader

      at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)

           at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)

           at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:118)

           at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:115)



      I try define package "javax.xml.ws" as Import-Package in both bundles, but it is not solve the problem.


      Any help,