Hi Sebastian, Check your classpath and your environment again. You are probably dealing with two classloaders that loaded different JAX-WS libraries. - Florian Am 21.12.11 15:11, schrieb Sebastian Danninger: > Dear all, > > we use chemistry in a project to sync a CMIS Repository (Alfresco 3.4d) > with an information integration graph, but I get the following exception: > > > org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: > Cannot initalize Web Services port object: $Proxy385 cannot be cast to > com.sun.xml.ws.developer.WSBindingProvider > at > org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(PortProvider.java:131) > at > org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getPortObject(AbstractPortProvider.java:210) > at > org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractPortProvider.getRepositoryServicePort(AbstractPortProvider.java:109) > at > org.apache.chemistry.opencmis.client.bindings.spi.webservices.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:85) > at > org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfo(RepositoryServiceImpl.java:69) > at > org.apache.chemistry.opencmis.client.runtime.SessionImpl.connect(SessionImpl.java:676) > at > org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.createSession(SessionFactoryImpl.java:90) > at > org.apache.chemistry.opencmis.client.runtime.repository.RepositoryImpl.createSession(RepositoryImpl.java:62) > at > net.sf.iqser.plugin.file.CmisContentProvider.doSynchonization(CmisContentProvider.java:331) > Caused by: java.lang.ClassCastException: $Proxy385 cannot be cast to > com.sun.xml.ws.developer.WSBindingProvider > at > org.apache.chemistry.opencmis.client.bindings.spi.webservices.PortProvider.createPortObject(PortProvider.java:108) > ... 12 more > > > Is there any solution to this already, found some mailing list entries from > early 2011 but didn't see any solution. (used Chemistry 0.3 and 0.6. same > error). > > I'm using jaxws-rt v. 2.1.7 > > best regards > > Sebastian >