Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread LBC
I just saw the comment from Daniel Kulp on CXF-6475.  Great find, thanks!  I'll comment further on the JIRA ticket.   On Thursday, June 25, 2015 5:41 PM, LBC wrote: I modified the code to reveal the URIs and updated CXF-6475 with a comment.   The built URIs from CXF and Jersey appear

Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread LBC
I modified the code to reveal the URIs and updated CXF-6475 with a comment.   The built URIs from CXF and Jersey appear to be identical. Unfortunately, I don't have the cycles w/ work to dig into it further than that, but I'll Brian Risk from Quandl support (the WS provider) to comment on what co

Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread Sergey Beryozkin
Thanks for the analysis so far. It does not really bring us any closer to finding where the problem is. Try the following: 1. Compare URIs created by CXF and Jersey. There has to be some difference, possibly a subtle one somewhere. 2. Check if CXF sends multiple requests - may be the target s

Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread LBC
I've attached the tcpdump files to the ticket:  https://issues.apache.org/jira/browse/CXF-6475 BTW, I don't have access to the server side as I'm the WS consumer.  I do have a support agreement with the WS provider though so if necessary I can possibly request logs from them. However, it would s

Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread LBC
Sorry, I didn't realize the formatting would get messed up like that.  I forgot to mention that the 301 and 200 responses I was seeing, I confirmed also through curl and wget.  I've included these outputs in the ticket (https://issues.apache.org/jira/browse/CXF-6475).  I'll work on grabbing the

Re: Caching and reusing SecureConversationToken - how?

2015-06-25 Thread Colm O hEigeartaigh
Hi Andrew, The problem with reusing the same security token across different client proxies is that you run into security problems, if the client proxies represent different users. It is simplest just to keep it per-proxy. Colm. On Wed, Jun 24, 2015 at 1:56 PM, Andrew wrote: > coheigea wrote >

Re: Apache CXF samples

2015-06-25 Thread Aki Yoshida
for instance, if you install wsdl-first on tomcat as described, you should be able to find the service at http://yourhost:yourport/wsdl_first/services/CustomerServicePort 2015-06-24 16:08 GMT+02:00 Dariusz Małyszko : > Hi, > > My question is how to port Apache CXF samples to Tomcat. I have > succ

Re: problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread Sergey Beryozkin
Hi You could've just posted a link to CXF-6475 to make it easier to read this message. I do not see where the issue is. HttpConduit logging is a bit confusing indeed because there's a number of attempts to set TLS client parameters but it does not mean that HTTPS is not used. Can you trace t

problems using CXF as a JAX-RS 2.0 client

2015-06-25 Thread LBC
hi, I'm having problems establishing a secure connection using CXF/JVM defaults.   Hopefully it's just a simple configuration issue.  Below is the generic JAX-RS 2.0 code, along with the associated Maven dependency, and the log output demonstrating the problem. Even though I'm specifying a "https