On May 5, 2014, at 2:58 PM, krish.karthi <[email protected]> wrote:
> Thanks for the instant reply, in our code we are not adding any headers > as you mentioned below, it is all with CXF. Can you grep through and check to see what IS being set on the RequestContext? This definitely shouldn’t be an issue unless SOMETHING is setting a HEADER_LIST onto the RequestContext someplace (which CXF wouldn’t be doing). If there isn’t a List set on the request context, CXF would create a new one on the outgoing message, but that would then be immediately discarded at the end of the request/response. The issue should only be occurring if something actually sets it on the Request Context where we would be re-using the exact list each time. Dan > But we do use the AddressingFeature to create the client. Code which creates > client, > OurHTTPPort client = service.getOurHTTPPort(AddressingFeature(true, ture)); > > I will give it a try by removing headers before every request and update you > how it goes. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
