<li>I added WS-Security with the default username/password and also the timestamp.</li>
<li>I added this to the getRepositories operation that i want to tryout.</li> </ul> But i am getting the following reply.
<S:Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <S:Header> <Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <Timestamp xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <Created>2014-03-21T10:07:50.478Z</Created> <Expires>2014-03-22T10:07:50.478Z</Expires> </Timestamp> </Security> </S:Header> <S:Body> <S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"> <faultcode>Server</faultcode> <faultstring>org.apache.chemistry.opencmis.commons.impl.dataobjects.ExtensionDataImpl cannot be cast to org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl</faultstring> <detail> <cmisFault:cmisFault xmlns:cmisFault="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:ns2="http://docs.oasis-open.org/ns/cmis/core/200908/"> <type>runtime</type> <code>0 <message>org.apache.chemistry.opencmis.commons.impl.dataobjects.ExtensionDataImpl cannot be cast to org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl</message> <stacktrace:stacktrace xmlns:stacktrace="http://chemistry.apache.org/opencmis/exception" xmlns="http://chemistry.apache.org/opencmis/exception">org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: org.apache.chemistry.opencmis.commons.impl.dataobjects.ExtensionDataImpl cannot be cast to org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl at org.alfresco.opencmis.AlfrescoCmisExceptionInterceptor.invoke(AlfrescoCmisExceptionInterceptor.java:80) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy298.getRepositoryInfos(Unknown Source) at org.apache.chemistry.opencmis.server.support.CmisServiceWrapper.getRepositoryInfos(CmisServiceWrapper.java:508) at org.apache.chemistry.opencmis.server.impl.webservices.RepositoryService.getRepositories(RepositoryService.java:63) …….. </code>