Re: Storing response before dispatch

2012-06-18 Thread rangeli nepal
s); However it does not provide any output at client end. Thank you. rn On Mon, Jun 18, 2012 at 5:04 AM, Sergey Beryozkin wrote: > Hi > > On 15/06/12 04:00, rangeli nepal wrote: >> >> Good Evening Gentlemen, >> >> I am trying to store response before it gets d

Storing response before dispatch

2012-06-14 Thread rangeli nepal
Good Evening Gentlemen, I am trying to store response before it gets dispatched so that it can be used for caching. I am not sure how to do it. I am planning to implement ResponseHandler. 1. One way to get response content is to call response.getEntity(). However this just gives jaxb object that

Response is not getting back to the client

2010-10-12 Thread rangeli nepal
Good Afternoon, In my current implementation of Interceptor, which basically implements org.apache.cxf.jaxrs.ext.RequestHandler return Reponse Object. Response Object either contain xml or a header with location field. Before sending the response I am able to print the object. However I see that s

Pragmatically sending Response back

2010-10-12 Thread rangeli nepal
Good Afternoon, Currently I am writting an interceptor. During certain condition, it needs to send the message ( a xml document, or location) back to the client and stop further processing. I thought if I do following. I will achieve it but I am not. Any suggestion will be highly appreciated. Than

Re: sending html page from interceptor

2010-06-11 Thread rangeli nepal
d use the getPath getContextPath and > and such to  construct a full path (that would start with "/") and set that. > That should get it out of the CXF servlets "space". > > Dan > > > > > On Thursday 10 June 2010 9:10:47 pm rangeli nepal wrote: >>

sending html page from interceptor

2010-06-10 Thread rangeli nepal
Good evening everybody, I am trying to send a html page from interceptor. I try to do it by response.sendRedirect(consent.jsp"). But I guess with redirect it goes to browser and it starts to look for an endpoint consent.jsp. If any one has done before I will appreciate your input. Thank you. Santo

Http Post Data

2010-05-26 Thread rangeli nepal
*Good Evening everybody, I am trying to write an interceptor that tries to get Post Message (Form posted). C*urrently I try to get Inputstream from MessageContext (through HttpServeletRequest). It works all most everytime except when I use with *LoggingInterceptor. It complains about stream being

Path problem.

2010-05-17 Thread rangeli nepal
I have a custom filter and my application was working nice and fine. I had a configuration as shown in beginning section. My class declaration was something like following: Later on since I have to use this filter in many my service, I changed my configuration as shown in end section. Now I ge

Re: Configuring CXF common filter

2010-05-05 Thread rangeli nepal
re the same set of custom providers, > > cheers, Sergey > > On Wed, May 5, 2010 at 8:44 PM, rangeli nepal >wrote: > > > Hello everybody, > > > > As I understand the configuration file. customized filter which is > provided > > as > > > > > >

Configuring CXF common filter

2010-05-05 Thread rangeli nepal
Hello everybody, As I understand the configuration file. customized filter which is provided as So If I provide a service called myservice I will have configuration something like this:

Re: jax-rs security

2010-03-29 Thread rangeli nepal
web.xml [1]? > > [1] http://cwiki.apache.org/CXF20DOC/jax-rs.html#JAX-RS-web.xml > > Josh > > On Mon, Mar 29, 2010 at 2:55 PM, rangeli nepal >wrote: > > > Hello Everybody, > > > > Currently I am using CXF 2.2.6. > > > > I am trying to come up with a solution

jax-rs security

2010-03-29 Thread rangeli nepal
Hello Everybody, Currently I am using CXF 2.2.6. I am trying to come up with a solution where I intercept every request. I like to protect my resources in two phase. Once certificate presented during Client auth (SSL cert.) is verified, I like to proceed with presenting login screen. I was thin