Re: DOSGI JAX-RS and Gzip

2010-06-03 Thread kdog
; cheers, Sergey > > On Wed, Jun 2, 2010 at 7:02 PM, kdog wrote: > >> >> Tried the GZIP intent thing on dosgi 1.1, but from the source code, it >> looks >> like for JAXRS services, it hard-codes the "HTTP" intent without giving >> the >> abilit

Re: DOSGI JAX-RS and Gzip

2010-06-02 Thread kdog
just saw that commit... don't know how often the apache maven snapshot repo is refreshed, but Sergey Beryozkin-5 wrote: > > Hi > > On Tue, Jun 1, 2010 at 10:32 PM, kdog wrote: > >> >> Yeah, the gzip filter thing doesn't seem to work... Doesn't look lik

Re: DOSGI JAX-RS and Gzip

2010-06-01 Thread kdog
[1] > http://svn.apache.org/repos/asf/cxf/dosgi/trunk/dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/SecurityDelegatingHttpContext.java > > On Tue, Jun 1, 2010 at 3:29 PM, kdog wrote: > >> >> Actually, it looks like in 1.2 snapshot the ability to add cust

Re: DOSGI JAX-RS and Gzip

2010-06-01 Thread kdog
t; explicit registration of CXF interceptors from custom bundles. > Any help with implementing either of the above will be appreciated given > my > time is limited now... > > cheers, Sergey > > On Wed, May 26, 2010 at 3:13 PM, kdog wrote: > >> >> So I have a requi

DOSGI JAX-RS and Gzip

2010-05-26 Thread kdog
So I have a requirement to Gzip the response from a JAX-RS request in DOSGI. I noticed that there are GZIP features and GZIP interceptors, but I don't know how to apply this a DOSGI JAX-RS service endpoint. I have tried the @Features annotation, but this only seems to apply to soap web services (j

DOSGI and XSLTJaxbProvider

2010-05-17 Thread kdog
To use the XSLTJaxbProvider, you must specify some custom properties like outMediaTemplates (etc). However, I am confused how you would use this as a provider for DOSGI. It is my understanding that to use providers where you set properties with DOSGI, you have to register the provider as an OSGI s

Re: DOSGi and JSON responses

2010-04-30 Thread kdog
I did stumble upon a way to get a json (and/or xml) response... 1.) Make sure jettison 1.2 is available as a bundle in your osgi container 2.) For "org.apache.cxf.rs.provider" use "org.apache.cxf.jaxrs.provider.AegisElementProvider,org.apache.cxf.jaxrs.provider.AegisJSONProvider" Kind of odd sin