Re: Duplicate Headers

2011-08-10 Thread Andrew
unked and Date headers, so we get duplicates Phase interceptor closes the conduit, flushing the buffer When I use a Servlet filter to ignore addHeader requests, I don't get any duplicate headers. I'm not sure exactly where the problem lies, as it seems Tomcat should not allow duplicat

Re: Duplicate Headers

2011-08-09 Thread Sergey Beryozkin
Hi Andrew On Tue, Aug 9, 2011 at 8:04 PM, Andrew wrote: > Sergey, > > Thanks for the suggestions.  Do you mean to use a Servlet filter or CXF > filter?  I'm looking at the objects available in the ResponseHandler: > > public Response handleResponse(Message m, OperationResourceInfo ori, > Response

Re: Duplicate Headers

2011-08-09 Thread Andrew
Sergey, Thanks for the suggestions. Do you mean to use a Servlet filter or CXF filter? I'm looking at the objects available in the ResponseHandler: public Response handleResponse(Message m, OperationResourceInfo ori, Response response) { but I'm not sure how to manipulate the headers. Is ther

Re: Duplicate Headers

2011-08-07 Thread Sergey Beryozkin
HI On Fri, Aug 5, 2011 at 5:30 PM, Andrew wrote: > We have a multi-node REST architecture, using CXF: > > Client calls Server 1 > Server 1 looks up the host/url and calls a similar service on Server 2 > Server 1 gets the Response from Server 2 and returns it to the client (no > unmarshalling) For

Duplicate Headers

2011-08-05 Thread Andrew
We have a multi-node REST architecture, using CXF: Client calls Server 1 Server 1 looks up the host/url and calls a similar service on Server 2 Server 1 gets the Response from Server 2 and returns it to the client (no unmarshalling) For example, this is the call from Server 1 to 2: public Respons