You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Siva K (JIRA)" <ji...@apache.org> on 2011/07/15 13:01:59 UTC
[jira] [Created] (CMIS-401) CMIS Webservice binding type is unable
to connect to an unprotected wsdl's(http)
CMIS Webservice binding type is unable to connect to an unprotected wsdl's(http)
--------------------------------------------------------------------------------
Key: CMIS-401
URL: https://issues.apache.org/jira/browse/CMIS-401
Project: Chemistry
Issue Type: Improvement
Components: dotcmis
Affects Versions: DotCMIS 0.2
Environment: .net,jboss,windows
Reporter: Siva K
When I try to use webservices binging type in DotCMIS for connecting to a CMIS wsdl like (http://servername:listeningport/cmis/services/RepositoryService?wsdl) I receiving the following error:
Error: The provided URI scheme 'http' is invalid; expected 'https'.
Parameter name: via
StackTrace: at DotCMIS.Binding.WebServices.RepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\webservices\webservices.cs:line 457
at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\binding-impl.cs:line 452
at DotCMIS.Client.Impl.Session.Connect() in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 239
at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 parameters) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 49
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CMIS-401) CMIS Webservice binding type is unable
to connect to an unprotected wsdl's(http)
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-401.
---------------------------------
Resolution: Won't Fix
Assignee: Florian Müller
That is a WCF restriction and cannot be fixed by DotCMIS.
(See, for example, http://social.msdn.microsoft.com/forums/en-US/wcf/thread/03db0772-b319-468c-9298-0ec301dacf34/)
> CMIS Webservice binding type is unable to connect to an unprotected wsdl's(http)
> --------------------------------------------------------------------------------
>
> Key: CMIS-401
> URL: https://issues.apache.org/jira/browse/CMIS-401
> Project: Chemistry
> Issue Type: Improvement
> Components: dotcmis
> Affects Versions: DotCMIS 0.2
> Environment: .net,jboss,windows
> Reporter: Siva K
> Assignee: Florian Müller
> Labels: dotcmis, webservices
>
> When I try to use webservices binging type in DotCMIS for connecting to a CMIS wsdl like (http://servername:listeningport/cmis/services/RepositoryService?wsdl) I receiving the following error:
> Error: The provided URI scheme 'http' is invalid; expected 'https'.
> Parameter name: via
> StackTrace: at DotCMIS.Binding.WebServices.RepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\webservices\webservices.cs:line 457
> at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\binding-impl.cs:line 452
> at DotCMIS.Client.Impl.Session.Connect() in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 239
> at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 parameters) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 49
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CMIS-401) CMIS Webservice binding type is
unable to connect to an unprotected wsdl's(http)
Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065902#comment-13065902 ]
Florian Müller commented on CMIS-401:
-------------------------------------
The simplest solution is to enable HTTPS on the server side. (That's a good idea anyway for productive environments.)
Another way would be using a different authentication method. But that might require some configuration on the server side and a bit of extra code on the DotCMIS side (AuthenticationProvider) and would be repository specific.
> CMIS Webservice binding type is unable to connect to an unprotected wsdl's(http)
> --------------------------------------------------------------------------------
>
> Key: CMIS-401
> URL: https://issues.apache.org/jira/browse/CMIS-401
> Project: Chemistry
> Issue Type: Improvement
> Components: dotcmis
> Affects Versions: DotCMIS 0.2
> Environment: .net,jboss,windows
> Reporter: Siva K
> Assignee: Florian Müller
> Labels: dotcmis, webservices
>
> When I try to use webservices binging type in DotCMIS for connecting to a CMIS wsdl like (http://servername:listeningport/cmis/services/RepositoryService?wsdl) I receiving the following error:
> Error: The provided URI scheme 'http' is invalid; expected 'https'.
> Parameter name: via
> StackTrace: at DotCMIS.Binding.WebServices.RepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\webservices\webservices.cs:line 457
> at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\binding-impl.cs:line 452
> at DotCMIS.Client.Impl.Session.Connect() in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 239
> at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 parameters) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 49
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CMIS-401) CMIS Webservice binding type is
unable to connect to an unprotected wsdl's(http)
Posted by "Siva K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CMIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065894#comment-13065894 ]
Siva K commented on CMIS-401:
-----------------------------
do you suggest any work around for this from DotCmis?
> CMIS Webservice binding type is unable to connect to an unprotected wsdl's(http)
> --------------------------------------------------------------------------------
>
> Key: CMIS-401
> URL: https://issues.apache.org/jira/browse/CMIS-401
> Project: Chemistry
> Issue Type: Improvement
> Components: dotcmis
> Affects Versions: DotCMIS 0.2
> Environment: .net,jboss,windows
> Reporter: Siva K
> Assignee: Florian Müller
> Labels: dotcmis, webservices
>
> When I try to use webservices binging type in DotCMIS for connecting to a CMIS wsdl like (http://servername:listeningport/cmis/services/RepositoryService?wsdl) I receiving the following error:
> Error: The provided URI scheme 'http' is invalid; expected 'https'.
> Parameter name: via
> StackTrace: at DotCMIS.Binding.WebServices.RepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\webservices\webservices.cs:line 457
> at DotCMIS.Binding.Impl.BindingRepositoryService.GetRepositoryInfo(String repositoryId, IExtensionsData extension) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\binding\binding-impl.cs:line 452
> at DotCMIS.Client.Impl.Session.Connect() in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 239
> at DotCMIS.Client.Impl.SessionFactory.CreateSession(IDictionary`2 parameters) in C:\Trunk\PRISM\Frameworks\DOC - Documentum\CMIS\src\client\client-impl.cs:line 49
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira