From dev-return-10144-archive-asf-public=cust-asf.ponee.io@chemistry.apache.org Thu Sep 20 15:07:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id F1A35180671 for ; Thu, 20 Sep 2018 15:07:04 +0200 (CEST) Received: (qmail 62121 invoked by uid 500); 20 Sep 2018 13:07:03 -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 62110 invoked by uid 99); 20 Sep 2018 13:07:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2018 13:07:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5F0DF1A06EF for ; Thu, 20 Sep 2018 13:07:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 93GVwPrRuE4x for ; Thu, 20 Sep 2018 13:07:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8522A5F169 for ; Thu, 20 Sep 2018 13:07:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B1DA3E2072 for ; Thu, 20 Sep 2018 13:07:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 25C3D23FA2 for ; Thu, 20 Sep 2018 13:07:00 +0000 (UTC) Date: Thu, 20 Sep 2018 13:07:00 +0000 (UTC) From: "smita panda (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-1064) failed to integrate cmis "*wsdl" web service from .net client , MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 smita panda created CMIS-1064: --------------------------------- Summary: failed to integrate cmis "*wsdl" web service from .ne= t client ,=20 Key: CMIS-1064 URL: https://issues.apache.org/jira/browse/CMIS-1064 Project: Chemistry Issue Type: New Feature Components: dotcmis Reporter: smita panda Hi , We are working on one of the project where we have cmis service (wsdl) , wh= ere we trying to consume the cmis servcie from .net client , but we unable = to create the session , we have used several process=C2=A0 , we have refer = to below sites also=C2=A0 [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 cre= ate the session . Below is the code we have written : try { Dictionary parameters =3D new Dictionary(); parameters[DotCMIS.SessionParameter.BindingType] =3D BindingType.WebService= s; var binding =3D new BasicHttpBinding(BasicHttpSecurityMode.None); //var Binding =3D new System.ServiceModel.WebHttpBinding(WebHttpSecurityMo= de.None); parameters[DotCMIS.SessionParameter.WebServicesRepositoryService] =3D "htt= p://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesAclService] =3D "http://"ho= sted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesDiscoveryService] =3D "http= ://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesMultifilingService] =3D "ht= tp://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesNavigationService] =3D "htt= p://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesObjectService] =3D "http://= "hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesPolicyService] =3D "http://= "hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesRelationshipService] =3D "h= ttp://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.WebServicesVersioningService] =3D "htt= p://"hosted server"/cmis/services/"; parameters[DotCMIS.SessionParameter.User] =3D "username"; parameters[DotCMIS.SessionParameter.Password] =3D "ppassword"; SessionFactory factory =3D SessionFactory.NewInstance(); ISession session =3D factory.GetRepositories(parameters)[0].CreateSession(= ); } catch (Exception ex) { //throw ex; } *Error =E2=80=93 =E2=80=9CThe provided URI scheme 'http' is invalid; expect= ed 'https'.\r\nParameter name: via=E2=80=9D* =C2=A0 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 .=C2=A0 =C2=A0 Thank you . =C2=A0 Regards, Smita Panda -- This message was sent by Atlassian JIRA (v7.6.3#76005)