Hi Florian,

Thanks for your answer. I will check with the person who has installed the CMIS 
conenctor into SharePoint.

I don't think that openCMIS has to be more tolerant. Microsoft has to be more 
compliant ;)

Erwan

----- Mail Original -----
De: "Florian Müller" <[email protected]>
À: [email protected]
Envoyé: Mercredi 27 Octobre 2010 11h59:19 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: Re: using opencmis whith Sharepoint

Hi Erwan,

I don't have access to a Sharepoint server anymore but OpenCMIS worked 
with a pre-release version of the Sharepoint CMIS connector.

The namespace "http://tempuri.org"; is clearly wrong and not CMIS spec 
compliant. OpenCMIS can't handle non-compliant repositories. There is no 
way to change the namespace.

Could you send me the Sharepoint WSDL (in a personal email)? I will 
check if we can make OpenCMIS more tolerant.


Regards,

Florian



On 27/10/2010 10:38, [email protected] wrote:
> Hi all,
>
> Perhaps i miss something in configuration but i still have some problem with 
> openCMIS an Sharepoint 2010 CMIS.
>
> I'm trying to create a java client for SharePoint CMIS (not my favorite 
> choice but need to do it) using opencmis client on WebServices mode.
> On SharePoint the CMIS WebServices has been deployed without setting the 
> target namespace (or Binding namespace in Micro~ language)
> So Web services are provided on the target namespace "http://tempuri.org"; and 
> not on "http://docs.oasis-open.org/ns/cmis/ws/200908/"; (looking on wsdl auto 
> generated file)
>
> My question is, how is it possible to set an other namespace for services 
> when creating a cmis session (using SessionFactory) for web services binding ?
> (using SessionFactory factory = SessionFactoryImpl.newInstance(); and 
> factory.createSession(paramsData);)
>
> Because when i tried to create a session i've got this error :
> Exception in thread "main" 
> org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException: 
> Cannot initalize Web Services service object 
> [org.apache.chemistry.opencmis.binding.webservices.RepositoryService]: 
> {http://docs.oasis-open.org/ns/cmis/ws/200908/}RepositoryService is not a 
> valid service. Valid services are: {http://tempuri.org/}RepositoryService
>
> Because in absolute it's possible for a CMIS server to provide web service in 
> a different target name space, no ?
>
> Thanks for any help,
>
> Regards
>
> Erwan
>

Reply via email to