You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (Jira)" <ji...@apache.org> on 2019/09/06 00:04:00 UTC

[jira] [Comment Edited] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

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

Karl Wright edited comment on CONNECTORS-1566 at 9/6/19 12:03 AM:
------------------------------------------------------------------

Thanks!
Now I'm having problems trying to use the Feature code for Https support.  I get the following error:

'Doesn't support any Service specific features'

This is without any https being used; I think it's basically complaining that the transport layer doesn't know what to do with the Feature I'm giving it.  Any idea what to do about that?  Here's the code; without the commented-out conduitFeature, I get the error:

{code}
    // Build TLSClientParameters
    final TLSClientParameters tlsConfig = new TLSClientParameters();
    if (keystore != null) {
      tlsConfig.setTrustManagers(keystore.getTrustManagers());
    }
    // Build configuration for conduit
    final HttpConduitConfig config = new HttpConduitConfig();
    config.setTlsClientParameters(tlsConfig);
    final HttpConduitFeature conduitFeature = new HttpConduitFeature();
    conduitFeature.setConduitConfig(config);

    // Construct service references from the URLs
    try {
        this.authService = new Authentication_Service(new URL(authenticationServiceURL)/*, conduitFeature*/);
        this.documentManagementService = new DocumentManagement_Service(new URL(documentManagementServiceURL)/*, conduitFeature*/);
        this.contentServiceService = new ContentService_Service(new URL(contentServiceServiceURL)/*, conduitFeature*/);
        this.memberServiceService = new MemberService_Service(new URL(memberServiceServiceURL)/*, conduitFeature*/);
        this.searchServiceService = new SearchService_Service(new URL(searchServiceServiceURL)/*, conduitFeature*/);
    } catch (javax.xml.ws.WebServiceException e) {
      throw new ManifoldCFException("Error initializing web services: "+e.getMessage(), e);
    } catch (MalformedURLException e) {
      throw new ManifoldCFException("Malformed URL: "+e.getMessage(), e);
    }
{code}




was (Author: kwright@metacarta.com):
Thanks!
Now I'm having problems trying to use the Feature code for Https support.  I get the following error:

'Doesn't support any Service specific features'

This is without any https being used; I think it's basically complaining that the transport layer doesn't know what to do with the Feature I'm giving it.  Any idea what to do about that?


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> ------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1566
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
>             Project: ManifoldCF
>          Issue Type: Task
>          Components: LiveLink connector
>    Affects Versions: ManifoldCF 2.12
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>            Priority: Major
>             Fix For: ManifoldCF 2.14
>
>         Attachments: OTCS_IIS.png, OTCS_Tomcat.png, chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the ContentServer Web Services API.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)