You can remove the unwanted headers.
On Tue, Feb 5, 2013 at 2:09 PM, panzerhans <espen+ca...@tjonneland.no> wrote: > I've been able to work a bit more on this topic. Here is what is happening. > > The exchange headers used in the Camel part propagates into HTTP headers. I > wasen't aware of this. > > Websphere is very strict about the content of the headers and a data object > that I was using carried an illegal sequence inside its .toString method > (illegal from Websphere HTTP header validation context). > Jetty seems to ignore this. > > This leads to another question. Can I add headers to the > "exchange.getOut.setHeader(......)" that can be prevented from propagating > as HTTP headers with the SOAP communication? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Websphere-6-1-0-45-Unable-to-return-data-from-a-camel-cxf-component-POJO-mode-tp5726083p5726967.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen