chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaushik" <kaushik.choudh...@datamatics.com>
Subject RE: Open Dot CMIS Query
Date Wed, 31 Oct 2012 12:05:01 GMT
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] =
"https://p851-kaushik:9443/fncmis/ACLService?wsdl";

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

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

   oParameters[SessionParameter.WebServicesMultifilingService] =
"https://p851-kaushik:9443/fncmis/MultiFilingService?wsdl";

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

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

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

   oParameters[SessionParameter.WebServicesRelationshipService] =
"https://p851-kaushik:9443/fncmis/RelationshipService?wsdl";

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

 

   oParameters[SessionParameter.User] = "P8Admin";

   oParameters[SessionParameter.Password] = "Password123";

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

 

   // Create new instance of SessionFactory class

   SessionFactory oFactory = SessionFactory.NewInstance();

 

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

 

   // Create Session

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

 

 

Please let us know.

 


Thanks and Regards,

Kaushik Choudhari 
Information Management Practice


http://insight.datamaticstech.com/esig/Line.gif


aaa

(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 

 

 <http://www.facebook.com/pages/Datamatics-Global-Services/268835395007>
Facebook

 <http://twitter.com/dgsl> Twitter

 <http://www.linkedin.com/companies/datamatics-global-services> LinkIn

 

 

From: Kai-Uwe Schmidt [mailto:kus@bel-it.de] 
Sent: Wednesday, October 31, 2012 1:42 PM
To: dev@chemistry.apache.org; kaushik.choudhari@datamatics.com
Cc: prashant patel
Subject: AW: Open Dot CMIS Query

 

You need to make a https connection. .net don't 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@datamatics.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 = new
Dictionary<string, string>(); 
  
                oParameters[SessionParameter.BindingType] =
BindingType.WebServices; 
                oParameters[SessionParameter.WebServicesRepositoryService] =
" <http://172.29.254.182:9080/fncmis/RepositoryService?wsdl>
http://172.29.254.182:9080/fncmis/RepositoryService?wsdl"; 
                oParameters[SessionParameter.WebServicesAclService] = "
<http://172.29.254.182:9080/fncmis/ACLService?wsdl>
http://172.29.254.182:9080/fncmis/ACLService?wsdl"; 
                oParameters[SessionParameter.WebServicesDiscoveryService] =
" <http://172.29.254.182:9080/fncmis/DiscoveryService?wsdl>
http://172.29.254.182:9080/fncmis/DiscoveryService?wsdl"; 
                oParameters[SessionParameter.WebServicesMultifilingService]
= " <http://172.29.254.182:9080/fncmis/MultiFilingService?wsdl>
http://172.29.254.182:9080/fncmis/MultiFilingService?wsdl"; 
                oParameters[SessionParameter.WebServicesNavigationService] =
" <http://172.29.254.182:9080/fncmis/NavigationService?wsdl>
http://172.29.254.182:9080/fncmis/NavigationService?wsdl"; 
                oParameters[SessionParameter.WebServicesPolicyService] = "
<http://172.29.254.182:9080/fncmis/PolicyService?wsdl>
http://172.29.254.182:9080/fncmis/PolicyService?wsdl"; 
                oParameters[SessionParameter.WebServicesObjectService] = "
<http://172.29.254.182:9080/fncmis/ObjectService?wsdl>
http://172.29.254.182:9080/fncmis/ObjectService?wsdl"; 
                oParameters[SessionParameter.WebServicesRelationshipService]
= " <http://172.29.254.182:9080/fncmis/RelationshipService?wsdl>
http://172.29.254.182:9080/fncmis/RelationshipService?wsdl"; 
                oParameters[SessionParameter.WebServicesVersioningService] =
" <http://172.29.254.182:9080/fncmis/VersioningService?wsdl>
http://172.29.254.182:9080/fncmis/VersioningService?wsdl"; 
  
                oParameters[SessionParameter.User] = "P8Admin"; 
                oParameters[SessionParameter.Password] = "******"; 
                oParameters[SessionParameter.RepositoryId] =
"{99AB015C-C370-431E-9467-AB6BB0628B21}"; 
  
                // Create new instance of SessionFactory class 
                SessionFactory oFactory = SessionFactory.NewInstance(); 
  
                // Create Session 
                oSession =
oFactory.GetRepositories(oParameters)[0].CreateSession(); 
  
  
We are getting following error. 
  
"Error: The provided URI scheme 'http' is invalid; expected 'https'. 
Parameter name: via". 

 

I guess the URL  <http://172.29.254.182:9080/fncmis/ACLService?wsdl>
http://172.29.254.182:9080/fncmis/ACLService?wsdl" is not available.

 

Please help us to resolve it.

 


Thanks and Regards,

Kaushik Choudhari 
Information Management Practice


http://insight.datamaticstech.com/esig/Line.gif


aaa

(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 

 

 <http://www.facebook.com/pages/Datamatics-Global-Services/268835395007>
Facebook

 <http://twitter.com/dgsl> Twitter

 <http://www.linkedin.com/companies/datamatics-global-services> LinkIn

 

 


Mime
View raw message