We're developing a new client application using CMIS and Alfresco. (Sorry - don't have access to server logs or even know what version we're running - set up by a different group).My code works fine with using the Atom Pub binding, but we are having a lot of performance problems. In poking around I came across one article where a user said he got a 50% performance improvement using a web services binding instead of Atom Pub. So I decided to try it. Here's a relevant code snippet (URL masked)
// Web Services binding - test for performance
String webservicesUrl = "http://******/alfresco/cmis";
final String BINDING_TYPE = BindingType.WEBSERVICES.value();
parameter.put(SessionParameter.BINDING_TYPE, BINDING_TYPE);
parameter.put(SessionParameter.WEBSERVICES_ACL_SERVICE, webservicesUrl + "/ACLService");
parameter.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE, webservicesUrl + "/DiscoveryService");
parameter.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE, webservicesUrl + "/MultiFilingService");
parameter.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE, webservicesUrl + "/NavigationService");
parameter.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE, webservicesUrl + "/ObjectService");
parameter.put(SessionParameter.WEBSERVICES_POLICY_SERVICE, webservicesUrl + "/PolicyService");
parameter.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE, webservicesUrl + "/RelationshipService");
parameter.put(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE, webservicesUrl + "/RepositoryService");
parameter.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE, webservicesUrl + "/VersioningService");
SessionFactory factory = SessionFactoryImpl.newInstance();
List<Repository> repositories = factory.getRepositories(parameter);
m_session = repositories.get(0).createSession();
getRepositories worked fine with Atom Pub, but I get an exception using the above code. cmisBaseException.getErrorContent() returns (URL masked):<blockcode>Cannot access WSDL: http://********/alfresco/cmis/RepositoryService<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse
ecurity xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-1076305078"><wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2014-06-12T20:56:00.503Z</wsu:Created><wsu:Expires xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2014-06-12T21:01:00.503Z</wsu:Expires></wsu:Timestamp></wsse
ecurity></soap:Header><soap:Body><soap:Fault><faultcode>soap
erver</faultcode><faultstring>Fault occurred while processing.</faultstring></soap:Fault></soap:Body></soap:Envelope></blockcode>Edited - I did figure out how to get info from the repository:<blockcode> <cmis
roductName>Alfresco Repository (Enterprise)</cmis
roductName> <cmis
roductVersion>4.1.3 (97)</cmis
roductVersion></blockcode>Any ideas?Thanks,