Re: Apache CXF question

2019-02-01 Thread Karl Wright
Thanks, Kishore -- but I already have the documentation.  What I need is
Apache CXF expertise. ;-)

Karl


On Fri, Feb 1, 2019 at 2:28 PM Kishore Kumar  wrote:

> Hi Karl,
>
> Good morning, I have shared you a Dropbox shared folder with OpenText
> Content Server Web Service Documentation.
>
> If you have not received the link from Dropbox in your inbox, check in
> Spam or let me know.
>
> Thanks,
> Kishore Kumar
>
> -Original Message-
> From: Karl Wright 
> Sent: 01 February 2019 05:48
> To: dev ; Rafa Haro 
> Subject: Apache CXF question
>
> I'm still working on the new OpenText connector, now using Apache CXF to
> handle the web services piece.  I've never worked with this package before,
> but I've got the WSDLs generating what looks like usable java classes
> representing the WSDL interfaces.  But the underlying transport is
> mysterious given what is generated.  So, two questions:
>
> (1) It doesn't appear to me like explicit generation of classes from the
> XSD are needed here.  It looks like CXF does that too.  Am I wrong?
> (2) I want the transport to go via an HttpComponents/HttpClient HttpClient
> object that I create and initialize myself.  How can I set that up?  If
> anyone on this list has a few snippets of code they can share it would be
> great.
>
> Thanks in advance,
> Karl
>


RE: Apache CXF question

2019-02-01 Thread Kishore Kumar
Hi Karl,

Good morning, I have shared you a Dropbox shared folder with OpenText Content 
Server Web Service Documentation.

If you have not received the link from Dropbox in your inbox, check in Spam or 
let me know.

Thanks,
Kishore Kumar

-Original Message-
From: Karl Wright  
Sent: 01 February 2019 05:48
To: dev ; Rafa Haro 
Subject: Apache CXF question

I'm still working on the new OpenText connector, now using Apache CXF to handle 
the web services piece.  I've never worked with this package before, but I've 
got the WSDLs generating what looks like usable java classes representing the 
WSDL interfaces.  But the underlying transport is mysterious given what is 
generated.  So, two questions:

(1) It doesn't appear to me like explicit generation of classes from the XSD 
are needed here.  It looks like CXF does that too.  Am I wrong?
(2) I want the transport to go via an HttpComponents/HttpClient HttpClient 
object that I create and initialize myself.  How can I set that up?  If anyone 
on this list has a few snippets of code they can share it would be great.

Thanks in advance,
Karl


Apache CXF question

2019-02-01 Thread Karl Wright
I'm still working on the new OpenText connector, now using Apache CXF to
handle the web services piece.  I've never worked with this package before,
but I've got the WSDLs generating what looks like usable java classes
representing the WSDL interfaces.  But the underlying transport is
mysterious given what is generated.  So, two questions:

(1) It doesn't appear to me like explicit generation of classes from the
XSD are needed here.  It looks like CXF does that too.  Am I wrong?
(2) I want the transport to go via an HttpComponents/HttpClient HttpClient
object that I create and initialize myself.  How can I set that up?  If
anyone on this list has a few snippets of code they can share it would be
great.

Thanks in advance,
Karl


[jira] [Commented] (CONNECTORS-1564) Support preemptive authentication to Solr connector

2019-02-01 Thread JIRA


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

Erlend GarĂ¥sen commented on CONNECTORS-1564:


OK, I will create a simplified code example which reproduce the problem and 
send it to the Solr developers.

> Support preemptive authentication to Solr connector
> ---
>
> Key: CONNECTORS-1564
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1564
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Lucene/SOLR connector
>Reporter: Erlend GarĂ¥sen
>Assignee: Karl Wright
>Priority: Major
> Attachments: CONNECTORS-1564.patch
>
>
> We should post preemptively in case the Solr server requires basic 
> authentication. This will make the communication between ManifoldCF and Solr 
> much more effective instead of the following:
>  * Send a HTTP POST request to Solr
>  * Solr sends a 401 response
>  * Send the same request, but with a "{{Authorization: Basic}}" header
> With preemptive authentication, we can send the header in the first request.



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