Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-1064

failed to integrate cmis "*wsdl" web service from .net client ,

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • dotcmis
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wsm111 smita panda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: