title: Running OpenCMIS client with CXF
body: <p>I'm trying to add an <a href="http://chemistry.apache.org/java/opencmis.html" rel="nofollow">OpenCmis</a> client to web application which already has other clients using CXF. It will be deployed on Weblogic. I have the OpenCMIS client working based on <a href="http://chemistry.apache.org/java/opencmis-client-bindings.html" rel="nofollow">http://chemistry.apache.org/java/opencmis-client-bindings.html</a></p>
  
  <p>The problem is when I put it together with the other client implementations. For the CXF I had to modify the weblogic-application.xml with some preferred packages and with that the OpenCMIS client doesn't work. The exception I get is this:</p>
  
  <pre><code>Caused By: java.lang.ClassCastException: com.sun.proxy.$Proxy136 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.SunRIPortProvider.createPortObject(SunRIPortProvider.java:84)
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:458)
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:280)
      at org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:69)
      at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:109)
      at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:96)
  </code></pre>
  
  <p>Is there some way to make it work together?</p>