AnsweredAssumed Answered

Cant establish session with browser binding

Question asked by longinus on Oct 10, 2017
Latest reply on Oct 11, 2017 by jpotts

Hello,

 

I am trying to establish a session using cmis 1.1 browser binding. My service url is :

 

 

<server:port>/<context_path>/api/-default-/cmis/versions/1.1/browser

 

 

 and setting following session parameters:

SessionParameter.BROWSER_URL, browserUrl SessionParameter.BINDING_TYPE, BindingType.BROWSER.value() ...

 

 

 

but getting the repository not found exception: Repository Id is not set! java.lang.IllegalStateException: Repository Id is not set! While debugging noticed that getRepositoryInfos() call overwrites the repository_id with null.

 

Can you advise how the session should be established, please? Do i need to enable cmis 1.1 or browser binding on the Alfresco Content Repository? Set some properties?

 

Kind Regards

Krzysztof

Outcomes