Re: How to inject spring bean to CXFServlet extented class

2014-12-22 Thread Kaustuv Maji
Hello, can you try following two steps i hope it will resolve problem. add in beans.xml this entry will scan/read all the stareo type af annotations from the java classes . add @Component at class level. Thanks and regards Kaustuv Maji On Tue Dec 23 2014 at 10:40:26 AM virajn wrote: > I have

How to inject spring bean to CXFServlet extented class

2014-12-22 Thread virajn
I have a rest web service. In that at webservice start i have to start few other services. I decided to extend the org.apache.cxf.transport.servlet.CXFServlet class and in that initiate those services. So far i have extended the class and it's working now. How can i inject spring bean to this exte

Re: Using CXF in OSGI context

2014-12-22 Thread seijoed
A lot of the legwork for registering, using an embedded jetty (pax) or  wiring up a new one is already done in Karaf, there is nothing saying you can’t disable things, what you get for free is a rich set of commands, tested combinations, logging, deployment,  config admin, security via JAAS and

75% time spent in handleResponseInternal() reasonable?

2014-12-22 Thread Irvine, Chuck R
I started profiling my WebApp server today. A considerable amount of the application functionality is derived by soap service calls to an external business partner. Application profiling using VisualVM sampling shows that the application is in handleResponseInternal (see below ***) about 75% of

Re: Async client Http transport and keep-alive timeouts

2014-12-22 Thread Mandy Warren
Hi Dan At the moment our code is based on the 2.7.x branch, we hadn't planned to upgrade to 3 til early next year. However maybe this will give me the incentive to upgrade sooner! Can I just confirm that if we want to use a later version of httpcore we need to upgrade to 3.0.x? I seem to reme

Re: Using CXF in OSGI context

2014-12-22 Thread Daniel Kulp
> On Dec 22, 2014, at 3:42 PM, Johan Kumps wrote: > I was looking at Felix as the OSGI container. Karaf is also an option but I > want to keep it as lightweigt as possible. What would your preferred setup > be? Do you have a reference for CXF on Felix too? The best option is likely to take Karaf

Re: Using CXF in OSGI context

2014-12-22 Thread Johan Kumps
Hi Andrei, I was looking at Felix as the OSGI container. Karaf is also an option but I want to keep it as lightweigt as possible. What would your preferred setup be? Do you have a reference for CXF on Felix too? Regards, Johan, 2014-12-22 12:18 GMT+01:00 Andrei Shakirin : > Hi, > > Do you use K

Re: Consumer performance concerns

2014-12-22 Thread Daniel Kulp
If you can, certainly use the same port object, but be careful of the areas in which it’s not thread safe. Using the thread safe request context can certainly help in most cases. Beyond that, creating a pool of the ports is usually the next best option. Check one out of the pool, use it, c

Consumer performance concerns

2014-12-22 Thread Irvine, Chuck R
I'm concerned that my CXF client code might have poor performance due to the way I have it structured. Each time my client code calls the service, I do this: MyService service = new MyService(); MyPort port = service.getMyPort(); Client client = ClientProxy.getClient(port); client.getRequestCont

Re: Async client Http transport and keep-alive timeouts

2014-12-22 Thread Daniel Kulp
This is likely down in HTTP Client someplace, but I am questioning one thing: if I use wireshark to grab the raw messages, I’m seeing the Connection: Keep-Alive header: POST /SoapContext/SoapPort HTTP/1.1 Accept: */* User-Agent: Apache CXF ${project.version} SOAPAction: "" Content-Length: 615

Re: CXF https server - Allowing null ciphers

2014-12-22 Thread avi39844
Somehow it works now, but I still wait for more elegant way. Thanks, http://stackoverflow.com/questions/27549648/cxf-server-enable-ssl-null-ciphers -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-https-server-Allowing-null-ciphers-tp5752465p5752652.html Sent from the cxf

Re: Unable to add restriction to bean in apache cxf soap service

2014-12-22 Thread Daniel Kulp
You’d likely need to work with the jaxb-facets folks to figure this out. Their stuff involves doing a lot of “highly discouraged” things that are a bit complicated. Adding stuff into the java.xml.* namespaces is certainly problematic. Using their hacked JAXB runtime is a bit less so, but

LoggingOutInterceptor problem getting message id

2014-12-22 Thread Stefan Taucher
We want to log the Request/Response to an ELK-Stack an therefor building custom IN/OUT LoggingInterceptors. The InInterceptor works flawlessly but the Out is making some problems. Here are my 2 problems: First of all i never get a massage id (which is essentual for our logging system) and the se

Re: Signing HTTP Requests in JAX-RS

2014-12-22 Thread Sergey Beryozkin
Hi Hermann On 22/12/14 11:35, Hermann Angstl wrote: I'd like to sign HTTP Requests (similar to this https://tools.ietf.org/html/draft-ietf-oauth-signed-http-request-00). Therefore I need access to HTTP-Header fields like "Content-Length", "Host", "Date", "User-Agent", etc. I tried using Clien

New SSL/TLS vulnerabilities in Apache CXF

2014-12-22 Thread Colm O hEigeartaigh
Two new security vulnerabilities are announced in Apache CXF that are fixed in the latest 3.0.3 and 2.7.14 releases: a) Note on CVE-2014-3566 - SSL 3.0 support in Apache CXF, aka the "POODLE" attack b) CVE-2014-3577: Apache CXF SSL hostname verification bypass Both advisories are available here:

Signing HTTP Requests in JAX-RS

2014-12-22 Thread Hermann Angstl
I'd like to sign HTTP Requests (similar to this https://tools.ietf.org/html/draft-ietf-oauth-signed-http-request-00). Therefore I need access to HTTP-Header fields like "Content-Length", "Host", "Date", "User-Agent", etc. I tried using ClientRequestFilter, WriterInterceptor and AbstractPhaseIn

RE: Using CXF in OSGI context

2014-12-22 Thread Andrei Shakirin
Hi, Do you use Karaf container or plain Felix? In the first case you can look in the Christian's Shneider tutorials: http://www.liquid-reality.de/display/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi Or take prepared container from Talend: http://www.talend.com/download/esb