chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "smita panda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-1064) failed to integrate cmis "*wsdl" web service from .net client ,
Date Mon, 24 Sep 2018 08:04:00 GMT

    [ https://issues.apache.org/jira/browse/CMIS-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16625499#comment-16625499
] 

smita panda commented on CMIS-1064:
-----------------------------------

Hi [~fmui] 

 

Could you please reply on this . we are facing some issue . it will be help full if you can
help on this.

 

Thank you .

 

Br,

Smita Panda

> failed to integrate cmis "*wsdl" web service from .net client , 
> ----------------------------------------------------------------
>
>                 Key: CMIS-1064
>                 URL: https://issues.apache.org/jira/browse/CMIS-1064
>             Project: Chemistry
>          Issue Type: New Feature
>          Components: dotcmis
>            Reporter: smita panda
>            Priority: Major
>
> Hi ,
> We are working on one of the project where we have cmis service (wsdl) , where we trying
to consume the cmis servcie from .net client , but we unable to create the session , we have
used several process  , we have refer to below sites also 
> [https://chemistry.apache.org/java/examples/example-connect-dotnet.html]
> [https://chemistry.apache.org/dotnet/getting-started-with-dotcmis.html]
> we have used dot cmis and port cmis , but still also we are not able to create the session
.
> Below is the code we have written :
> try
>  {
> Dictionary<string, string> parameters = new Dictionary<string, string>();
> parameters[DotCMIS.SessionParameter.BindingType] = BindingType.WebServices;
>  var binding = new BasicHttpBinding(BasicHttpSecurityMode.None);
>  //var Binding = new System.ServiceModel.WebHttpBinding(WebHttpSecurityMode.None);
>  parameters[DotCMIS.SessionParameter.WebServicesRepositoryService] = "http://"hosted
server"/cmis/services/<RepositoryServiceWSDL>";
>  parameters[DotCMIS.SessionParameter.WebServicesAclService] = "http://"hosted server"/cmis/services/<AclServiceWSDL>";
>  parameters[DotCMIS.SessionParameter.WebServicesDiscoveryService] = "http://"hosted server"/cmis/services/<DiscoveryServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesMultifilingService] = "http://"hosted
server"/cmis/services/<MultiFilingServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesNavigationService] = "http://"hosted
server"/cmis/services/<NavigationServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesObjectService] = "http://"hosted server"/cmis/services/<ObjectServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesPolicyService] = "http://"hosted server"/cmis/services/<PolicyServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesRelationshipService] = "http://"hosted
server"/cmis/services/<RelationshipServicewsdl>";
>  parameters[DotCMIS.SessionParameter.WebServicesVersioningService] = "http://"hosted
server"/cmis/services/<VersioningServicewsdl>";
>  parameters[DotCMIS.SessionParameter.User] = "username";
>  parameters[DotCMIS.SessionParameter.Password] = "ppassword";
> SessionFactory factory = SessionFactory.NewInstance();
>  ISession session = factory.GetRepositories(parameters)[0].CreateSession();
> }
>  catch (Exception ex)
>  {
>  //throw ex;
>  }
> *Error – “The provided URI scheme 'http' is invalid; expected 'https'.\r\nParameter
name: via”*
>  
> Please let us know if any confugration we have to do in web.congif file in visual studio
or any thing we are missing here .
> Please let us know . Appreciate you help . 
>  
> Thank you .
>  
> Regards,
> Smita Panda



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message