You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/12/12 12:53:07 UTC

[jira] [Assigned] (CMIS-742) DotCMIS support for CMIS 1.1

     [ https://issues.apache.org/jira/browse/CMIS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller reassigned CMIS-742:
-----------------------------------

    Assignee: Florian Müller

> DotCMIS support for CMIS 1.1
> ----------------------------
>
>                 Key: CMIS-742
>                 URL: https://issues.apache.org/jira/browse/CMIS-742
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>            Reporter: Nicolas Raoul
>            Assignee: Florian Müller
>            Priority: Critical
>
> I am using NemakiWare (a NoSQL CMIS 1.1 server) and DotCMIS can't connect to it, because DotCMIS only supports CMIS 1.0.
> Note: CMIS 1.1 has been approved as an OASIS specification on December 12, 2012 (exactly a year ago as I am writing).
> [PARTIAL PATCH]
> 1) Open the DotCMIS project
> 2) In "Service References", select the CMIS service reference, and right-click "Configure Service Reference..."
> 2) In "Address", paste: http://docs.oasis-open.org/cmis/CMIS/v1.1/os/schema/CMISWS-Service.wsdl
> 2) Click "OK", wait for the download to complete
> 3) Rebuild the whole project
> 4) DotCMIS should now be able to handle CMIS 1.1 servers, as far as my testing went, using the Web Service endpoint (not AtomPub)
> Even if all CMIS 1.1 features are not accessible, at least it would be nice to be able to connect and preform CMIS 1.0-level operations.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Re: [jira] [Assigned] (CMIS-742) DotCMIS support for CMIS 1.1

Posted by Florian Müller <mu...@gotux.de>.
Hi Robert,

CMIS 1.1 support for DotCMIS is currently _not_ under development. It's
much more complicated than just exchanging the CMIS WSDL and recompile.
A proper implementation would take several weeks.

There seems to be a demand for CMIS 1.1 support, but I currently don't
have the time to implement it.


Regards,

Florian


> Hello,
> 
> Our product is a DotCMIS client.  If I am understanding what is being said 
> in this email, there will be a new version of DotCMIS available that will 
> support CMIS 1.1.  Is that correct?  If so, when will that be publically 
> available?
> 
> "DotCMIS should now be able to handle CMIS 1.1 servers, as far as my 
> testing went, using the Web Service endpoint (not AtomPub)"
> 
> Does this mean that AtomPub will not be supported with DotCMIS for version 
> 1.1 or does it simply mean it has not yet been tested?  I would expect 
> that AtomPub would be supported since the readme file included in the 
> DotCMIS package gives several reasons to use AtomPub instead of the web 
> service.
> 
> Thank you,
> Robert
> 
> 
> 
> From:   Florian Müller (JIRA) <ji...@apache.org>
> To:     dev@chemistry.apache.org, 
> Date:   12/12/2013 06:53 AM
> Subject:        [jira] [Assigned] (CMIS-742) DotCMIS support for CMIS 1.1
> 
> 
> 
> 
>      [ 
> https://issues.apache.org/jira/browse/CMIS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
> ]
> 
> Florian Müller reassigned CMIS-742:
> -----------------------------------
> 
>     Assignee: Florian Müller
> 
>> DotCMIS support for CMIS 1.1
>> ----------------------------
>>
>>                 Key: CMIS-742
>>                 URL: https://issues.apache.org/jira/browse/CMIS-742
>>             Project: Chemistry
>>          Issue Type: Improvement
>>          Components: dotcmis
>>    Affects Versions: DotCMIS 0.6
>>            Reporter: Nicolas Raoul
>>            Assignee: Florian Müller
>>            Priority: Critical
>>
>> I am using NemakiWare (a NoSQL CMIS 1.1 server) and DotCMIS can't 
> connect to it, because DotCMIS only supports CMIS 1.0.
>> Note: CMIS 1.1 has been approved as an OASIS specification on December 
> 12, 2012 (exactly a year ago as I am writing).
>> [PARTIAL PATCH]
>> 1) Open the DotCMIS project
>> 2) In "Service References", select the CMIS service reference, and 
> right-click "Configure Service Reference..."
>> 2) In "Address", paste: 
> http://docs.oasis-open.org/cmis/CMIS/v1.1/os/schema/CMISWS-Service.wsdl
>> 2) Click "OK", wait for the download to complete
>> 3) Rebuild the whole project
>> 4) DotCMIS should now be able to handle CMIS 1.1 servers, as far as my 
> testing went, using the Web Service endpoint (not AtomPub)
>> Even if all CMIS 1.1 features are not accessible, at least it would be 
> nice to be able to connect and preform CMIS 1.0-level operations.
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.1.4#6159)
> 
> 
> 

Re: DotCMIS Login Problem With Documentum

Posted by Robert Ferin <rf...@us.ibm.com>.
Hi Florian,

Thanks for your help on this.  It looks like I had an invalid 
configuration file on my side.  Although the URL, userID & Password 
visibly looked correct, there must have been some kind of 
unprintable/invalid character in it.  Originally I just cut and pasted 
from another location.  When I retyped it all by hand. I was able to 
connect via DotCMIS. 

Now I can continue with my testing.
Thank you,
Robert



From:   Florian Müller <fm...@apache.org>
To:     Robert Ferin/Armonk/IBM@IBMUS
Cc:     dev@chemistry.apache.org
Date:   09/29/2014 12:45 PM
Subject:        Re: DotCMIS Login Problem With Documentum



Hi Robert,

I cannot reproduce the problem.
I've put the XML file on a web server and pointed a DotCMIS test to it. 
It returns the one repository that is in the service document.
Are you using the correct URL?


- Florian



> 
https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

> [2]
> 
> 
> 
> Links:
> ------
> [1]
> 
https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

> [2]
> 
https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;amp;rct=j&amp;amp;frm=1&amp;amp;q=&amp;amp;esrc=s&amp;amp;sa=U&amp;amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;amp;ved=0CBQQFjAA&amp;amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ




Re: DotCMIS Login Problem With Documentum

Posted by Florian Müller <fm...@apache.org>.
Hi Robert,

I cannot reproduce the problem.
I've put the XML file on a web server and pointed a DotCMIS test to it. 
It returns the one repository that is in the service document.
Are you using the correct URL?


- Florian


> Hi Florian,
> 
> My mistake. I have saved the XML response from the http request. I
> have attached it to the email. Please let me know if I grabbed the
> wrong information or if there is something else that will help.
> 
> Thank you,
> Robert
> 
> From: Florian Müller <fm...@apache.org>
> To: Robert Ferin/Armonk/IBM@IBMUS
> Cc: dev@chemistry.apache.org
> Date: 09/29/2014 11:27 AM
> Subject: Re: DotCMIS Login Problem With Documentum
> 
> -------------------------
> 
> Hi Robert,
> 
>  I wasn't precise enough, sorry.
>  What I need is the XML response of (I guess)
>  http://<host>:9080/cmis/resources . I would like to see the AtomPub
>  service document, which contains the repository info.
> 
>  - Florian
> 
>  > Hello Florian,
>  >
>  > I have found these two documents discussing the CMIS implementation
> of
>  > Documentum.
>  >
>  >
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&rct=j&frm=1&q=&esrc=s&sa=U&ei=bjopVMDUL8uXgwTI-YCQBw&ved=0CBQQFjAA&usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ
> [1]
>  > [1]
>  >
>  >
> http://www.jouvinio.net/wiki/images/9/9e/Documentum_cmis_6.7_reference.pdf
>  >
>  >
>  > I am using the AtomPub login. This is the form I am using.
>  > http://<host>:9080/cmis/resources
>  >
>  > I am not sure if it is useful, but I captured a log with CMIS
>  > Workbench of a successful login.
>  >
>  > Please let me know if there is something else I need to provide to
>  > help resolve the issue.
>  >
>  > Thanks,
>  > Robert
>  >
>  > From: Florian Müller <fm...@apache.org>
>  > To: dev@chemistry.apache.org
>  > Cc: Robert Ferin/Armonk/IBM@IBMUS
>  > Date: 09/28/2014 07:06 AM
>  > Subject: Re: DotCMIS Login Problem With Documentum
>  >
>  > -------------------------
>  >
>  > Hi Robert,
>  >
>  > DotCMIS is a bit stricter compared to OpenCMIS. It ignores
>  > repositories
>  > if the AtomPub service document isn't a 100% correct.
>  >
>  > Can you send the Documentum AtomPub service document? Maybe there
> is
>  > something we can do in DotCMIS.
>  >
>  > - Florian
>  >
>  > >
>  > > When I click on "Load Repositories" using CMIS Workbench, it does
>  > list the
>  > > single repository and the login to that repository is successful.
> I
>  > do
>  > > not understand why it is getting a list of repositories but my
> code
>  > does
>  > > not.
>  > >
>  > > Can anyone offer any advice as to why I cannot login using
> DotCMIS
>  > when
>  > > the same login credentials work with CMIS Workbench?
>  > >
>  > > Thanks,
>  > > Robert
>  > >
>  > >
>  > >
>  >
>  >
>  >
>  > Links:
>  > ------
>  > [1]
>  >
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ
> [2]
> 
> 
> 
> Links:
> ------
> [1]
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ
> [2]
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;amp;rct=j&amp;amp;frm=1&amp;amp;q=&amp;amp;esrc=s&amp;amp;sa=U&amp;amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;amp;ved=0CBQQFjAA&amp;amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

Re: DotCMIS Login Problem With Documentum

Posted by Robert Ferin <rf...@us.ibm.com>.
Hi Florian,

My mistake.  I have saved the XML response from the http request.  I have 
attached it to the email. Please let me know if I grabbed the wrong 
information or if there is something else that will help.


Thank you,
Robert



From:   Florian Müller <fm...@apache.org>
To:     Robert Ferin/Armonk/IBM@IBMUS
Cc:     dev@chemistry.apache.org
Date:   09/29/2014 11:27 AM
Subject:        Re: DotCMIS Login Problem With Documentum



Hi Robert,

I wasn't precise enough, sorry.
What I need is the XML response of (I guess) 
http://<host>:9080/cmis/resources . I would like to see the AtomPub 
service document, which contains the repository info.


- Florian


> Hello Florian,
> 
> I have found these two documents discussing the CMIS implementation of
> Documentum.
> 
> 
https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&rct=j&frm=1&q=&esrc=s&sa=U&ei=bjopVMDUL8uXgwTI-YCQBw&ved=0CBQQFjAA&usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

> [1]
> 
> 
http://www.jouvinio.net/wiki/images/9/9e/Documentum_cmis_6.7_reference.pdf
> 
> 
> I am using the AtomPub login. This is the form I am using.
> http://<host>:9080/cmis/resources
> 
> I am not sure if it is useful, but I captured a log with CMIS
> Workbench of a successful login.
> 
> Please let me know if there is something else I need to provide to
> help resolve the issue.
> 
> Thanks,
> Robert
> 
> From: Florian Müller <fm...@apache.org>
> To: dev@chemistry.apache.org
> Cc: Robert Ferin/Armonk/IBM@IBMUS
> Date: 09/28/2014 07:06 AM
> Subject: Re: DotCMIS Login Problem With Documentum
> 
> -------------------------
> 
> Hi Robert,
> 
>  DotCMIS is a bit stricter compared to OpenCMIS. It ignores
> repositories
>  if the AtomPub service document isn't a 100% correct.
> 
>  Can you send the Documentum AtomPub service document? Maybe there is
>  something we can do in DotCMIS.
> 
>  - Florian
> 
>  >
>  > When I click on "Load Repositories" using CMIS Workbench, it does
> list the
>  > single repository and the login to that repository is successful. I
> do
>  > not understand why it is getting a list of repositories but my code
> does
>  > not.
>  >
>  > Can anyone offer any advice as to why I cannot login using DotCMIS
> when
>  > the same login credentials work with CMIS Workbench?
>  >
>  > Thanks,
>  > Robert
>  >
>  >
>  >
> 
> 
> 
> Links:
> ------
> [1]
> 
https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ




Re: DotCMIS Login Problem With Documentum

Posted by Florian Müller <fm...@apache.org>.
Hi Robert,

I wasn't precise enough, sorry.
What I need is the XML response of (I guess) 
http://<host>:9080/cmis/resources . I would like to see the AtomPub 
service document, which contains the repository info.


- Florian


> Hello Florian,
> 
> I have found these two documents discussing the CMIS implementation of
> Documentum.
> 
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&rct=j&frm=1&q=&esrc=s&sa=U&ei=bjopVMDUL8uXgwTI-YCQBw&ved=0CBQQFjAA&usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ
> [1]
> 
> http://www.jouvinio.net/wiki/images/9/9e/Documentum_cmis_6.7_reference.pdf
> 
> 
> I am using the AtomPub login. This is the form I am using.
> http://<host>:9080/cmis/resources
> 
> I am not sure if it is useful, but I captured a log with CMIS
> Workbench of a successful login.
> 
> Please let me know if there is something else I need to provide to
> help resolve the issue.
> 
> Thanks,
> Robert
> 
> From: Florian Müller <fm...@apache.org>
> To: dev@chemistry.apache.org
> Cc: Robert Ferin/Armonk/IBM@IBMUS
> Date: 09/28/2014 07:06 AM
> Subject: Re: DotCMIS Login Problem With Documentum
> 
> -------------------------
> 
> Hi Robert,
> 
>  DotCMIS is a bit stricter compared to OpenCMIS. It ignores
> repositories
>  if the AtomPub service document isn't a 100% correct.
> 
>  Can you send the Documentum AtomPub service document? Maybe there is
>  something we can do in DotCMIS.
> 
>  - Florian
> 
>  >
>  > When I click on "Load Repositories" using CMIS Workbench, it does
> list the
>  > single repository and the login to that repository is successful. I
> do
>  > not understand why it is getting a list of repositories but my code
> does
>  > not.
>  >
>  > Can anyone offer any advice as to why I cannot login using DotCMIS
> when
>  > the same login credentials work with CMIS Workbench?
>  >
>  > Thanks,
>  > Robert
>  >
>  >
>  >
> 
> 
> 
> Links:
> ------
> [1]
> https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&amp;rct=j&amp;frm=1&amp;q=&amp;esrc=s&amp;sa=U&amp;ei=bjopVMDUL8uXgwTI-YCQBw&amp;ved=0CBQQFjAA&amp;usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

Re: DotCMIS Login Problem With Documentum

Posted by Robert Ferin <rf...@us.ibm.com>.
Hello Florian,

I have found these two documents discussing the CMIS implementation of 
Documentum.

https://www.google.com/url?url=https://community.emc.com/servlet/JiveServlet/previewBody/12500-102-1-47618/documentum_cmis_67_deployment.pdf&rct=j&frm=1&q=&esrc=s&sa=U&ei=bjopVMDUL8uXgwTI-YCQBw&ved=0CBQQFjAA&usg=AFQjCNGj_VIVdEf5OKWDCpj8TrCgTqHztQ

http://www.jouvinio.net/wiki/images/9/9e/Documentum_cmis_6.7_reference.pdf

I am using the AtomPub login.  This is the form I am using. 
http://<host>:9080/cmis/resources



I am not sure if it is useful, but I captured a log with CMIS Workbench of 
a successful login.

Please let me know if there is something else I need to provide to help 
resolve the issue.

Thanks,
Robert



From:   Florian Müller <fm...@apache.org>
To:     dev@chemistry.apache.org
Cc:     Robert Ferin/Armonk/IBM@IBMUS
Date:   09/28/2014 07:06 AM
Subject:        Re: DotCMIS Login Problem With Documentum



Hi Robert,

DotCMIS is a bit stricter compared to OpenCMIS. It ignores repositories
if the AtomPub service document isn't a 100% correct.

Can you send the Documentum AtomPub service document? Maybe there is
something we can do in DotCMIS.


- Florian





> 
> When I click on "Load Repositories" using CMIS Workbench, it does list 
the 
> single repository and the login to that repository is successful.  I do 
> not understand why it is getting a list of repositories but my code does 

> not.
> 
> Can anyone offer any advice as to why I cannot login using DotCMIS when 
> the same login credentials work with CMIS Workbench?
> 
> Thanks,
> Robert
> 
> 
> 



Re: DotCMIS Login Problem With Documentum

Posted by Florian Müller <fm...@apache.org>.
Hi Robert,

DotCMIS is a bit stricter compared to OpenCMIS. It ignores repositories
if the AtomPub service document isn't a 100% correct.

Can you send the Documentum AtomPub service document? Maybe there is
something we can do in DotCMIS.


- Florian




> Hello,
> 
> I am having a problem logging into a Documentum repository via DotCMIS.  I 
> have code that successfully logs into other repositories but is failing 
> against Documentum.    I can login successfully to the same Documentum 
> system using CMIS Workbench Version: 0.8.0-SNAPSHOT / Revision: ? / Build: 
> 2012-09-03T21:14:47+0200.
> 
> The same credentials on my DotCMIS application fail.  I have attempted to 
> login by choosing the first repository and by specifying a repository. 
> Both methods fail.  I am using DotCMIS.dll 0.6.0.0.
> 
> When I attempt to login to the first repository, 
> factory.GetRepositories(loginParameters); returns a list of 0 items.
> 
> When I attempt to login by specifying the repository, I receive an 
> exception that the repository does not exist.  This same repository is the 
> one displayed by CMIS workbench:
> 
> Here is the exception for the specified repository:
> DotCMIS.Exceptions.CmisObjectNotFoundException: Repository not found!
>    at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfo(String 
> repositoryId, IExtensionsData extension)
>    at 
> DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String 
> repositoryId, IExtensionsData extension)
>    at DotCMIS.Client.Impl.Session.Connect()
>    at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 
> parameters, IObjectFactory objectFactory, AbstractAuthenticationProvider 
> authenticationProvider, ICache cache)
> 
> 
> Here is the snip of code that performs the login.  I split apart the 
> GetRepositories call and login call to multiple statements so I could 
> confirm that it is returning an empty list.
> 
> ISession myCMISSession = null;
> loginParameters = new Dictionary<string, string>();
> loginParameters[SessionParameter.BindingType] = BindingType.AtomPub;
> loginParameters[SessionParameter.AtomPubUrl] = cmisAtomPubURL;  // 
> cmisAtomPubURL; is a string
> loginParameters[SessionParameter.User] = cmisUserID; // cmisUserID; is a 
> string
> loginParameters[SessionParameter.Password] = cmisPassword; // 
> cmisPassword; is a string
> SessionFactory factory = SessionFactory.NewInstance();
> 
> if ((cmisRepositoryID != null) && (cmisRepositoryID.Trim().Length > 0))
> {
>    loginParameters[SessionParameter.RepositoryId] = cmisRepositoryID;  // 
> Login using a specific repository ID
>    myCMISSession = factory.CreateSession(loginParameters); 
> }
> else 
> {
>    IList<IRepository> repositoryList = 
> factory.GetRepositories(loginParameters); 
>    if (repositoryList.Count != 0)
>    {
>       myCMISSession = repositoryList[0].CreateSession();  // Login to the 
> first repository
>    }
> }
> 
> When I click on "Load Repositories" using CMIS Workbench, it does list the 
> single repository and the login to that repository is successful.  I do 
> not understand why it is getting a list of repositories but my code does 
> not.
> 
> Can anyone offer any advice as to why I cannot login using DotCMIS when 
> the same login credentials work with CMIS Workbench?
> 
> Thanks,
> Robert
> 
> 
> 

DotCMIS Login Problem With Documentum

Posted by Robert Ferin <rf...@us.ibm.com>.
Hello,

I am having a problem logging into a Documentum repository via DotCMIS.  I 
have code that successfully logs into other repositories but is failing 
against Documentum.    I can login successfully to the same Documentum 
system using CMIS Workbench Version: 0.8.0-SNAPSHOT / Revision: ? / Build: 
2012-09-03T21:14:47+0200.

The same credentials on my DotCMIS application fail.  I have attempted to 
login by choosing the first repository and by specifying a repository. 
Both methods fail.  I am using DotCMIS.dll 0.6.0.0.

When I attempt to login to the first repository, 
factory.GetRepositories(loginParameters); returns a list of 0 items.

When I attempt to login by specifying the repository, I receive an 
exception that the repository does not exist.  This same repository is the 
one displayed by CMIS workbench:

Here is the exception for the specified repository:
DotCMIS.Exceptions.CmisObjectNotFoundException: Repository not found!
   at DotCMIS.Binding.AtomPub.RepositoryService.GetRepositoryInfo(String 
repositoryId, IExtensionsData extension)
   at 
DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String 
repositoryId, IExtensionsData extension)
   at DotCMIS.Client.Impl.Session.Connect()
   at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 
parameters, IObjectFactory objectFactory, AbstractAuthenticationProvider 
authenticationProvider, ICache cache)


Here is the snip of code that performs the login.  I split apart the 
GetRepositories call and login call to multiple statements so I could 
confirm that it is returning an empty list.

ISession myCMISSession = null;
loginParameters = new Dictionary<string, string>();
loginParameters[SessionParameter.BindingType] = BindingType.AtomPub;
loginParameters[SessionParameter.AtomPubUrl] = cmisAtomPubURL;  // 
cmisAtomPubURL; is a string
loginParameters[SessionParameter.User] = cmisUserID; // cmisUserID; is a 
string
loginParameters[SessionParameter.Password] = cmisPassword; // 
cmisPassword; is a string
SessionFactory factory = SessionFactory.NewInstance();

if ((cmisRepositoryID != null) && (cmisRepositoryID.Trim().Length > 0))
{
   loginParameters[SessionParameter.RepositoryId] = cmisRepositoryID;  // 
Login using a specific repository ID
   myCMISSession = factory.CreateSession(loginParameters); 
}
else 
{
   IList<IRepository> repositoryList = 
factory.GetRepositories(loginParameters); 
   if (repositoryList.Count != 0)
   {
      myCMISSession = repositoryList[0].CreateSession();  // Login to the 
first repository
   }
}

When I click on "Load Repositories" using CMIS Workbench, it does list the 
single repository and the login to that repository is successful.  I do 
not understand why it is getting a list of repositories but my code does 
not.

Can anyone offer any advice as to why I cannot login using DotCMIS when 
the same login credentials work with CMIS Workbench?

Thanks,
Robert



Re: [jira] [Assigned] (CMIS-742) DotCMIS support for CMIS 1.1

Posted by Robert Ferin <rf...@us.ibm.com>.
Hello,

Our product is a DotCMIS client.  If I am understanding what is being said 
in this email, there will be a new version of DotCMIS available that will 
support CMIS 1.1.  Is that correct?  If so, when will that be publically 
available?

"DotCMIS should now be able to handle CMIS 1.1 servers, as far as my 
testing went, using the Web Service endpoint (not AtomPub)"

Does this mean that AtomPub will not be supported with DotCMIS for version 
1.1 or does it simply mean it has not yet been tested?  I would expect 
that AtomPub would be supported since the readme file included in the 
DotCMIS package gives several reasons to use AtomPub instead of the web 
service.

Thank you,
Robert



From:   Florian Müller (JIRA) <ji...@apache.org>
To:     dev@chemistry.apache.org, 
Date:   12/12/2013 06:53 AM
Subject:        [jira] [Assigned] (CMIS-742) DotCMIS support for CMIS 1.1




     [ 
https://issues.apache.org/jira/browse/CMIS-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel 
]

Florian Müller reassigned CMIS-742:
-----------------------------------

    Assignee: Florian Müller

> DotCMIS support for CMIS 1.1
> ----------------------------
>
>                 Key: CMIS-742
>                 URL: https://issues.apache.org/jira/browse/CMIS-742
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>            Reporter: Nicolas Raoul
>            Assignee: Florian Müller
>            Priority: Critical
>
> I am using NemakiWare (a NoSQL CMIS 1.1 server) and DotCMIS can't 
connect to it, because DotCMIS only supports CMIS 1.0.
> Note: CMIS 1.1 has been approved as an OASIS specification on December 
12, 2012 (exactly a year ago as I am writing).
> [PARTIAL PATCH]
> 1) Open the DotCMIS project
> 2) In "Service References", select the CMIS service reference, and 
right-click "Configure Service Reference..."
> 2) In "Address", paste: 
http://docs.oasis-open.org/cmis/CMIS/v1.1/os/schema/CMISWS-Service.wsdl
> 2) Click "OK", wait for the download to complete
> 3) Rebuild the whole project
> 4) DotCMIS should now be able to handle CMIS 1.1 servers, as far as my 
testing went, using the Web Service endpoint (not AtomPub)
> Even if all CMIS 1.1 features are not accessible, at least it would be 
nice to be able to connect and preform CMIS 1.0-level operations.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)