cancel
Showing results for 
Search instead for 
Did you mean: 

How to consume CMIS without Java?

ritesh
Champ in-the-making
Champ in-the-making
Due to some customer´s restrictions I´m developing a client in Ensemble. Since there is no CMIS extension available, I´m having problems consuming the services as they are and I haven´t been able to solve them reading other posts in this forum:

  - The Authentication Service works OK, I can login and I get a ticket as a result, but I don´t know how to use this ticket.
  - After authentication, I try to consume the RepositoryService (getRepositoryInfo method). Do I have to put the ticket in the
    extension parameter (type: cmisExtensionType)? Right now I´m just using it as the following, but I don´t get any result:

                    set repositoryInfo = clientRepositoryService.getRepositoryInfo(repositoryID)

Thanks for help!
Ritesh
3 REPLIES 3

avyaznikov
Champ in-the-making
Champ in-the-making
Ritesh, use basic authentication with ROLE_TICKET as username (or empty username) and ticket as password.

See https://issues.alfresco.com/jira/browse/MNT-1613?focusedCommentId=98814&page=com.atlassian.jira.plug... for details.

ritesh
Champ in-the-making
Champ in-the-making
Thanks Arkadiy! Right now I´m not using the ticket, instead I´m sending username and password within the WS-Security headers everytime I need to use the webservices. Is that also a right approach? If not I will use ticket authentication.

Regards.

avyaznikov
Champ in-the-making
Champ in-the-making
Yes, you also can use login/password authentication mechanism.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.