Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EBAAED65F for ; Fri, 2 Nov 2012 11:44:33 +0000 (UTC) Received: (qmail 89681 invoked by uid 500); 2 Nov 2012 11:44:33 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 89498 invoked by uid 500); 2 Nov 2012 11:44:33 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 89466 invoked by uid 99); 2 Nov 2012 11:44:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 11:44:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [115.113.181.96] (HELO dgsmailweb2.datamatics.com) (115.113.181.96) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 11:44:24 +0000 Received: from mail1.datamatics.com (172.1.201.196) by dgsmailweb2.datamatics.com (Axigen) with (AES256-SHA encrypted) ESMTPS id 0AA12D; Fri, 2 Nov 2012 17:13:38 +0530 Received: from kaushikc (172.20.1.132) by dgsmaildbs196 (Axigen) with ESMTPA id 3C6EC5; Fri, 2 Nov 2012 17:17:51 +0530 Reply-To: From: "Kaushik" To: Cc: , , "'prashant patel'" , References: <007e01cdb728$fa1271a0$ee3754e0$@datamatics.com> <00e001cdb75f$f49f2920$dddd7b60$@datamatics.com> <1351762233568360500@datamatics.com> <020101cdb8bc$802a4a30$807ede90$@datamatics.com> <1351837627492768500@datamatics.com> In-Reply-To: <1351837627492768500@datamatics.com> Subject: RE: FW: AW: Open Dot CMIS Query Date: Fri, 2 Nov 2012 17:14:19 +0530 Message-ID: <02a801cdb8ef$65549930$2ffdcb90$@datamatics.com> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_02A9_01CDB91D.7F1B0600" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQIvTQjQP/qYPzeGfYJnONfYpAD5mAHxdpEXAvv8UnoB3UNYlAI7cMErAaxLnMYBsvqZqwGJzbnRlqPKVPA= Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_02A9_01CDB91D.7F1B0600 Content-Type: multipart/alternative; boundary="----=_NextPart_001_02AA_01CDB91D.7F1B0600" ------=_NextPart_001_02AA_01CDB91D.7F1B0600 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, =20 We were able to get the getObject function working along with the Update = properties function. =20 But when we are creating the document using the createDocument function, = we need to create document of specific document class and not of a = general document class.=20 =20 We are not able to get this function in the dll. Please help us to = resolve this issue. =20 Thanks and Regards, Kaushik Choudhari=20 Information Management Practice http://insight.datamaticstech.com/esig/Line.gif aaa (D):+91 22 6102 5242 =20 (M):+91 887 904 4619 Datamatics Global Services Limited Unit 190, SDF VI, SEEPZ, Andheri (E) Mumbai 400 096, India=20 www.datamatics.com Americas | Asia | Australia | Europe=20 =20 = Facebook Twitter LinkIn =20 =20 From: prashant patel [mailto:prashant.patel@datamatics.com]=20 Sent: Friday, November 02, 2012 11:57 AM To: jay.brown@us.ibm.com Cc: dev@chemistry.apache.org; kus@bel-it.de; Kaushik Choudhari Subject: Re: FW: AW: Open Dot CMIS Query =20 Hi Jay, We have tried two methods to get objects from FileNet repository, = however only one of them is working. Here is the code snippet. // Method 1 : Working IObjectData result =3D = oSession.Binding.GetObjectService().GetObject(oSession.RepositoryInfo.Id,= "idd_68481FB4-13EE-4269-88A4-8C195BCC03A2", "*", true, = IncludeRelationshipsFlag.Both, "*", true, true, null); // Method 2 : Not working IDocument oDocument =3D = oSession.GetObject("idd_68481FB4-13EE-4269-88A4-8C195BCC03A2") as = IDocument; Any help on this will be appreciated. Thanks, Prashant Patel On Fri, 11/02/2012 11:10 AM, "Kaushik" = <kaushik.choudhari@datamatics.com> wrote: =20 =20 Thanks and Regards, Kaushik Choudhari=20 Information Management Practice http://insight.datamaticstech.com/esig/Line.gif aaa (D):+91 22 6102 5242 =20 (M):+91 887 904 4619 Datamatics Global Services Limited Unit 190, SDF VI, SEEPZ, Andheri (E) Mumbai 400 096, India=20 www.datamatics.com Americas | Asia | Australia | Europe=20 =20 = Facebook Twitter LinkIn =20 =20 From: Jay Brown [mailto:jay.brown@us.ibm.com]=20 Sent: Thursday, November 01, 2012 7:45 PM Cc: dev@chemistry.apache.org; Kaushik Choudhari; kus@bel-it.de Subject: Re: AW: Open Dot CMIS Query =20 That object ID that you are using in your example is native P8 GUID = instead of a P8 CMIS object ID. =20 Generally you need to obtain the id of the document from CMIS via Query = or some soft of navigation operation (like getFolderChildren) then = retrieve the Id to examine the object.=20 For example you would first get the root folder id from the repository = info then use that as your navigation starting point.=20 If you need to convert a native GUID to a P8 CMIS id you will need to = strip off the '{' 's and add the type prefix. (note this method is not = supported since the spec requires that you tread ids as opaque = identifiers.) P8 CMIS ids look like this: (idf_ for folders idd_ for docuuments) idf_BAD138F0-8BCA-4A1D-A000-0E182A34B3D9 idd_A3AD74A0-EB00-43AF-BED4-76B113563D08 Note: The book "CMIS and Apache Chemistry in Action" from Manning covers = all of these CMIS issues in detail. (http://www.manning.com/mueller/) Jay Brown Senior Engineer, ECM Development IBM Software Group jay.brown@us.ibm.com Inactive hide details for prashant patel ---11/01/2012 02:27:14 AM---Hi, = We have changed our code to work with AtomPub instead prashant patel = ---11/01/2012 02:27:14 AM---Hi, We have changed our code to work with = AtomPub instead of web service. Now we are able to connect From: prashant patel To: kus@bel-it.de,=20 Cc: Kaushik Choudhari , = "dev@chemistry.apache.org" Date: 11/01/2012 02:27 AM Subject: Re: AW: Open Dot CMIS Query _____ =20 Hi, We have changed our code to work with AtomPub instead of web service. = Now we are able to connect to repository and create session but when we = try to find folder/document from repository, it says "Not Found". Here is the code snippet that we are using. // Dictionary object which will hold various paramaters Dictionary oParameters =3D new Dictionary(); oParameters[SessionParameter.BindingType] =3D BindingType.AtomPub; oParameters[SessionParameter.AtomPubUrl] =3D " = https://p851-kaushik.p851domain.com:9443/fncmis/resources/Service"; oParameters[SessionParameter.User] =3D "P8Admin"; oParameters[SessionParameter.Password] =3D "******"; // Create new instance of SessionFactory class SessionFactory oFactory =3D SessionFactory.NewInstance(); ISession oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession(); // Get Document using ObjectID IDocument oDocument =3D = oSession.GetObject("{D234E670-74E2-4A75-ABB4-BAAFB001F029}") as = IDocument; Any help on this one will be appreciated. Thanks, Prashant Patel.=20 On Wed, 10/31/2012 05:50 PM, Kai-Uwe Schmidt wrote: >=20 v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Assuming that=20 https://p851-kaushik:9443/fncmis/RepositoryService?wsdl works from your = browser and gets you the wsdl file I would guess you use a self-signed = certificate. The browser would show you a warning. If so make that = certificate trusted. Von: Kaushik [mailto:kaushik.choudhari@datamatics.com] >=20 Gesendet: Mittwoch, 31. Oktober 2012 13:05 >=20 An: Kai-Uwe Schmidt; dev@chemistry.apache.org >=20 Cc: 'prashant patel'; kaushik.choudhari@datamatics.com >=20 Betreff: RE: Open Dot CMIS Query Hi, We have made the application as https. Please see the error below. Also = find the attached Please find the error that we are getting after changing the http URL. Below is the updated code. oParameters[SessionParameter.WebServicesAclService] =3D "https://p851-kaushik:9443/fncmis/ACLService?wsdl"; oParameters[SessionParameter.WebServicesRepositoryService] =3D "https://p851-kaushik:9443/fncmis/RepositoryService?wsdl"; oParameters[SessionParameter.WebServicesDiscoveryService] =3D "https://p851-kaushik:9443/fncmis/DiscoveryService?wsdl"; oParameters[SessionParameter.WebServicesMultifilingService] =3D "https://p851-kaushik:9443/fncmis/MultiFilingService?wsdl"; oParameters[SessionParameter.WebServicesNavigationService] =3D "https://p851-kaushik:9443/fncmis/NavigationService?wsdl"; oParameters[SessionParameter.WebServicesPolicyService] =3D "https://p851-kaushik:9443/fncmis/PolicyService?wsdl"; oParameters[SessionParameter.WebServicesObjectService] =3D "https://p851-kaushik:9443/fncmis/ObjectService?wsdl"; oParameters[SessionParameter.WebServicesRelationshipService] =3D "https://p851-kaushik:9443/fncmis/RelationshipService?wsdl"; oParameters[SessionParameter.WebServicesVersioningService] =3D "https://p851-kaushik:9443/fncmis/VersioningService?wsdl"; oParameters[SessionParameter.User] =3D "P8Admin"; oParameters[SessionParameter.Password] =3D "Password123"; oParameters[SessionParameter.RepositoryId] =3D "{99AB015C-C370-431E-9467-AB6BB0628B21}"; =20 // Create new instance of SessionFactory class =20 SessionFactory oFactory =3D=20 SessionFactory.NewInstance(); =20 //IList oList =3D oFactory.GetRepositories(oParameters); =20 // Create Session =20 ISession oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession(); Please let us know. Thanks and Regards, Kaushik Choudhari >=20 Information Management Practice (D):+91 22 6102 5242 =20 >=20 (M):+91 887 904 4619 Datamatics Global Services Limited >=20 Unit 190, SDF VI, SEEPZ, Andheri (E) Mumbai 400 096, India=20 >=20 www.datamatics.com Americas | Asia | Australia | Europe From: Kai-Uwe Schmidt [mailto:kus@bel-it.de] >=20 Sent: Wednesday, October 31, 2012 1:42 PM >=20 To: dev@chemistry.apache.org; kaushik.choudhari@datamatics.com >=20 Cc: prashant patel >=20 Subject: AW: Open Dot CMIS Query You need to make a https connection. .net don=E2=80=99t allow to send = clear text password via http. Von: Kaushik [mailto:kaushik.choudhari@datamatics.com] >=20 Gesendet: Mittwoch, 31. Oktober 2012 06:31 >=20 An: dev@chemistry.apache.org >=20 Cc: prashant patel; kaushik.choudhari@datamatics.com >=20 Betreff: Open Dot CMIS Query Hi, We are trying to use Open Dot CMIS to connect to IBM FileNet 5.1 using = IBM CMIS. Please find the code snippet below with the error we are getting. ISession oSession; >=20 >=20 // Dictionary object which will hold various paramaters >=20 Dictionary oParameters =3D new = Dictionary(); >=20 >=20 oParameters[SessionParameter.BindingType] =3D = BindingType.WebServices; >=20 = oParameters[SessionParameter.WebServicesRepositoryService] =3D = "http://172.29.254.182:9080/fncmis/RepositoryService?wsdl"; >=20 oParameters[SessionParameter.WebServicesAclService] =3D = "http://172.29.254.182:9080/fncmis/ACLService?wsdl"; >=20 oParameters[SessionParameter.WebServicesDiscoveryService] = =3D "http://172.29.254.182:9080/fncmis/DiscoveryService?wsdl"; >=20 = oParameters[SessionParameter.WebServicesMultifilingService] =3D = "http://172.29.254.182:9080/fncmis/MultiFilingService?wsdl"; >=20 = oParameters[SessionParameter.WebServicesNavigationService] =3D = "http://172.29.254.182:9080/fncmis/NavigationService?wsdl"; >=20 oParameters[SessionParameter.WebServicesPolicyService] = =3D "http://172.29.254.182:9080/fncmis/PolicyService?wsdl"; >=20 oParameters[SessionParameter.WebServicesObjectService] = =3D "http://172.29.254.182:9080/fncmis/ObjectService?wsdl"; >=20 = oParameters[SessionParameter.WebServicesRelationshipService] =3D = "http://172.29.254.182:9080/fncmis/RelationshipService?wsdl"; >=20 = oParameters[SessionParameter.WebServicesVersioningService] =3D = "http://172.29.254.182:9080/fncmis/VersioningService?wsdl"; >=20 >=20 oParameters[SessionParameter.User] =3D "P8Admin"; >=20 oParameters[SessionParameter.Password] =3D "******"; >=20 oParameters[SessionParameter.RepositoryId] =3D = "{99AB015C-C370-431E-9467-AB6BB0628B21}"; >=20 >=20 // Create new instance of SessionFactory class >=20 SessionFactory oFactory =3D SessionFactory.NewInstance(); >=20 >=20 // Create Session >=20 oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession(); >=20 >=20 >=20 We are getting following error. >=20 >=20 =E2=80=9CError: The provided URI scheme 'http' is invalid; expected = 'https'. >=20 Parameter name: via=E2=80=9D. I guess the URL=20 http://172.29.254.182:9080/fncmis/ACLService?wsdl" is not available. Please help us to resolve it. Thanks and Regards, Kaushik Choudhari >=20 Information Management Practice (D):+91 22 6102 5242 =20 >=20 (M):+91 887 904 4619 Datamatics Global Services Limited >=20 Unit 190, SDF VI, SEEPZ, Andheri (E) Mumbai 400 096, India=20 >=20 www.datamatics.com Americas | Asia | Australia | Europe ------=_NextPart_001_02AA_01CDB91D.7F1B0600 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi,

 

We were able to get the getObject function working along with the = Update properties function.

 

But when we are creating the document using the createDocument = function, we need to create document of specific document class and not = of a general document class.

 

We are not able to get this function in the dll. Please help us to = resolve this issue.

 

Th= anks and Regards,

Ka= ushik Choudhari
In= formation Management Practice

3D"http://insight.datamaticstech.com/esig/Line.gif"

3Daaa

(D= ):+91 22 6102 5242  
(M):+91 887 904 = 4619

Da= tamatics Global Services Limited
Unit 190, SDF VI, SEEPZ, Andheri (E) = Mumbai 400 096, India

www.datamatics.com

=   Americas  |   Asia  |  Australia =  |  Europe

 

3DFacebook

3DTwitter

3DLinkIn

 

 

From:= = prashant patel [mailto:prashant.patel@datamatics.com]
Sent: = Friday, November 02, 2012 11:57 AM
To: = jay.brown@us.ibm.com
Cc: dev@chemistry.apache.org; = kus@bel-it.de; Kaushik Choudhari
Subject: Re: FW: AW: Open Dot = CMIS Query

 

Hi = Jay,

We have tried two methods to get objects from FileNet = repository, however only one of them is working.

Here is the code = snippet.

// Method 1 : Working
IObjectData result =3D = oSession.Binding.GetObjectService().GetObject(oSession.RepositoryInfo.Id,= "idd_68481FB4-13EE-4269-88A4-8C195BCC03A2", "*", = true, IncludeRelationshipsFlag.Both, "*", true, true, = null);

// Method 2 : Not working
 IDocument oDocument =3D = oSession.GetObject("idd_68481FB4-13EE-4269-88A4-8C195BCC03A2") = as IDocument;

Any = help on this will be appreciated.

Thank= s,

Prashant Patel

On Fri, 11/02/2012 11:10 AM, = &quot;Kaushik&quot; &lt;kaushik.choudhari@datamatics.com= &gt; wrote:

 

 

 

 

From:= = Jay Brown [mailto:jay.brown@us.ibm.com] =
Sent: Thursday, November 01, 2012 7:45 PM
Cc: dev@chemistry.apache.org; = Kaushik Choudhari; kus@bel-it.de
Subject: Re: = AW: Open Dot CMIS Query

 

That object = ID that you are using in your example is native P8 GUID instead of a P8 = CMIS object ID.    

Generally = you need to obtain the id of the document from CMIS via Query or some = soft of navigation operation (like getFolderChildren) = then retrieve the Id to examine the object. =

For example = you would first get the root folder id from the repository info then use = that as your navigation starting point.

If you need = to convert a native GUID to a P8 CMIS id you will need to strip off the = '{' 's and add the type prefix.  (note this method is not supported = since the spec requires that you tread ids as opaque = identifiers.)
P8 CMIS ids = look like this: (idf_ for folders idd_ for docuuments)
  =  idf_BAD138F0-8BCA-4A1D-A000-0E182A34B3D9
 idd_A3AD74A0-EB00-43AF-BED4-76B113563D08=

Note: The = book "CMIS and Apache Chemistry in Action" from Manning covers = all of these CMIS issues in detail.  (http://www.manning.com/mueller/)

Jay = Brown
Senior Engineer, ECM Development
IBM Software Group
jay.brown@us.ibm.com

<= br>3D"Inactiveprashant patel ---11/01/2012 02:27:14 AM---Hi, We have changed our code = to work with AtomPub instead of web service. Now we are able to = connect

Th= anks and Regards,

Ka= ushik Choudhari
In= formation Management Practice

3D"http://insight.datamaticstech.com/esig/Line.gif"<= /o:p>

3Daaa

(D= ):+91 22 6102 5242  
(M):+91 887 904 = 4619

Da= tamatics Global Services Limited
Unit 190, SDF VI, SEEPZ, Andheri (E) = Mumbai 400 096, India

www.datamatics.com

=   Americas  |   Asia  |  Australia =  |  Europe

 

3DFacebook

3DTwitter

3DLinkIn

= From:


prashant = patel <prashant.patel@datamatics.c= om>

= To:


kus@bel-it.de, =

= Cc:


Kaushik = Choudhari <kaushik.choudhari@datama= tics.com>, "dev@chemistry.apache.org&quo= t; <dev@chemistry.apache.org>=

= Date:


11/01/2012 = 02:27 AM

= Subject:


Re: AW: Open = Dot CMIS Query


Hi,

We have = changed our code to work with AtomPub instead of web service. Now we are = able to connect to repository and create session but when we try to find = folder/document  from repository, it says "Not = Found".

Here is the code snippet that we are = using.


// Dictionary object which will hold various = paramaters
Dictionary<string, string> oParameters =3D = new Dictionary<string, = string>();

oParameters[SessionParameter.BindingType] = =3D = BindingType.AtomPub;
oParameters[SessionParameter.AtomPubUrl]= =3D " https://p851-kaushik.p851domain.com:9443/fncmis/resourc= es/Service";

oParameters[SessionParameter.User] = =3D = "P8Admin";
oParameters[SessionParameter.Password] = =3D "******";


 // Create new instance = of SessionFactory class
SessionFactory oFactory =3D = SessionFactory.NewInstance();

ISession oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession();

// Get Document using ObjectID
IDocument oDocument =3D = oSession.GetObject("{D234E670-74E2-4A75-ABB4-BAAFB001F029}") = as IDocument;


Any help on this one will be = appreciated.


Thanks,
Prashant Patel. =

On Wed, 10/31/2012 05:50 PM, Kai-Uwe Schmidt <kus@bel-it.de> = wrote:
>



v\:* = {behavior:url(#default#VML);}
o\:* = {behavior:url(#default#VML);}
w\:* = {behavior:url(#default#VML);}
.shape = {behavior:url(#default#VML);}








Assuming that
https://p851-kaushik:9443/fncmis/RepositoryService?wsdl=  works from your browser and gets you the wsdl file I would = guess you use a self-signed certificate. The browser would show you a = warning. If so make that certificate = trusted.








Von: Kaushik [mailto:kaushik.choudhari= @datamatics.com]

>
Gesendet: = Mittwoch, 31. Oktober 2012 13:05
>
An: = Kai-Uwe Schmidt; dev@chemistry.apache.org
>
Cc: 'prashant patel'; kaushik.choudhari@datama= tics.com
>
Betreff: RE: Open Dot CMIS = Query





Hi,



We = have made the application as https. Please see the error below. Also = find the attached




Please find the error that = we are getting after changing the http = URL.




Below is the updated = code.



  = oParameters[SessionParameter.WebServicesAclService] = =3D
"https://p851-kaushik:9443/fncmis/ACLService?wsdl&qu= ot;;

  = oParameters[SessionParameter.WebServicesRepositoryService] = =3D
"https://p851-kaushik:9443/fncmis/RepositoryService?wsdl= ";

  = oParameters[SessionParameter.WebServicesDiscoveryService] = =3D
"https://p851-kaushik:9443/fncmis/DiscoveryService?wsdl<= /a>";

  = oParameters[SessionParameter.WebServicesMultifilingService] = =3D
"
https://p851-kaushik:9443/fncmis/MultiFilingService?wsd= l";

  = oParameters[SessionParameter.WebServicesNavigationService] = =3D
"https://p851-kaushik:9443/fncmis/NavigationService?wsdl= ";

  = oParameters[SessionParameter.WebServicesPolicyService] = =3D
"https://p851-kaushik:9443/fncmis/PolicyService?wsdl= ";

  = oParameters[SessionParameter.WebServicesObjectService] = =3D
"https://p851-kaushik:9443/fncmis/ObjectService?wsdl= ";

  = oParameters[SessionParameter.WebServicesRelationshipService] = =3D
"https://p851-kaushik:9443/fncmis/RelationshipService?ws= dl";

  = oParameters[SessionParameter.WebServicesVersioningService] = =3D
"https://p851-kaushik:9443/fncmis/VersioningService?wsdl= ";



  = oParameters[SessionParameter.User] = =3D
"P8Admin";

  = oParameters[SessionParameter.Password] = =3D
"Password123";

  = oParameters[SessionParameter.RepositoryId] = =3D
"{99AB015C-C370-431E-9467-AB6BB0628B21}";<= br>


 
// Create new instance of = SessionFactory class

 
SessionFactory = oFactory =3D =
SessionFactory.NewInstance();



 =
//IList<IRepository> oList =3D = oFactory.GetRepositories(oParameters);



 
// Create Session

 
ISession =  oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession();




Please let us = know.








Thanks and = Regards,

Kaushik Choudhari

> =
Information Management = Practice














=
(D):+91 22 6102 5242  

> =
(M):+91 887 904 4619



Datamatics = Global Services Limited
>
Unit 190, SDF VI, = SEEPZ, Andheri (E) Mumbai 400 096, India
> =
www.datamatics.com






=


 Americas  |   Asia  | =  Australia  | =  Europe













=

















<= br>
From: Kai-Uwe Schmidt [mailto:kus@bel-it.de]

&= gt;
Sent: Wednesday, October 31, 2012 1:42 = PM
>
To: dev@chemistry.apache.org;
kaushik.choudhari@datama= tics.com
>
Cc: prashant = patel
>
Subject: AW: Open Dot CMIS = Query





You need to make a https = connection. .net don=E2=80=99t allow to send clear text password via = http.










Von: Kaushik = [mailto:kaushik.choudhari= @datamatics.com]

>
Gesendet: = Mittwoch, 31. Oktober 2012 06:31
>
An: dev@chemistry.apache.org
>
Cc: prashant patel; kaushik.choudhari@datama= tics.com
>
Betreff: Open Dot CMIS = Query





Hi,



We are = trying to use Open Dot CMIS to connect to IBM FileNet 5.1 using IBM = CMIS.




Please find the code snippet below = with the error we are getting.



 ISession = oSession;

>


>
// = Dictionary object which will hold various = paramaters

>
        =        Dictionary<string, string> oParameters = =3D new Dictionary<string, string>();

> =


>
        =        oParameters[SessionParameter.BindingType] =3D = BindingType.WebServices;

>
    =           =  oParameters[SessionParameter.WebServicesRepositoryService] =3D = "http://172.29.254.182:9080/fncmis/RepositoryService?wsd= l";

>
      =         =  oParameters[SessionParameter.WebServicesAclService] =3D "http://172.29.254.182:9080/fncmis/ACLService?wsdl&q= uot;;

>
        =       =  oParameters[SessionParameter.WebServicesDiscoveryService] =3D = "http://172.29.254.182:9080/fncmis/DiscoveryService?wsdl= ";

>
      =         =  oParameters[SessionParameter.WebServicesMultifilingService] =3D = "http://172.29.254.182:9080/fncmis/MultiFilingService?ws= dl";

>
      =         =  oParameters[SessionParameter.WebServicesNavigationService] =3D = "http://172.29.254.182:9080/fncmis/NavigationService?wsd= l";

>
      =         =  oParameters[SessionParameter.WebServicesPolicyService] =3D = "http://172.29.254.182:9080/fncmis/PolicyService?wsdl";

>
        =       =  oParameters[SessionParameter.WebServicesObjectService] =3D = "
http://172.29.254.182:9080/fncmis/ObjectService?wsdl";

>
        =       =  oParameters[SessionParameter.WebServicesRelationshipService] =3D = "
http://172.29.254.182:9080/fncmis/RelationshipService?w= sdl";

>
      =         =  oParameters[SessionParameter.WebServicesVersioningService] =3D = "http://172.29.254.182:9080/fncmis/VersioningService?wsd= l";

>


> =
              =  oParameters[SessionParameter.User] =3D = "P8Admin";

>
    =           =  oParameters[SessionParameter.Password] =3D = "******";

>
    =           =  oParameters[SessionParameter.RepositoryId] =3D = "{99AB015C-C370-431E-9467-AB6BB0628B21}";

> =


>
        =        // Create new instance of SessionFactory = class

>
        =        SessionFactory oFactory =3D = SessionFactory.NewInstance();

> =


>
        =        // Create Session

> =
              =  oSession =3D = oFactory.GetRepositories(oParameters)[0].CreateSession();

>



>


> =
We are getting following error.

> =


>
=E2=80=9CError: The provided URI = scheme 'http' is invalid; expected 'https'.

> =
Parameter name: via=E2=80=9D.




I = guess the URL
http://172.29.254.182:9080/fncmis/ACLService?wsdl&q= uot; is not available.



Please help us to resolve = it.







Thanks and = Regards,

Kaushik Choudhari

> =
Information Management = Practice














=
(D):+91 22 6102 5242  

> =
(M):+91 887 904 4619



Datamatics = Global Services Limited
>
Unit 190, SDF VI, = SEEPZ, Andheri (E) Mumbai 400 096, India
> =
www.datamatics.com






=


 Americas  |   Asia  | =  Australia  | =  Europe













=

















<= br>


------=_NextPart_001_02AA_01CDB91D.7F1B0600-- ------=_NextPart_000_02A9_01CDB91D.7F1B0600--