In POJO mode, the SOAP headers are copied to Camel IN headers as "org.apache.cxf.headers.Headers.list." The header value is a List of CXF Header objects (http://svn.apache.org/repos/asf/cxf/trunk/api/src/main/java/org/apache/cxf/headers/Header.java). That's how you can read request SOAP headers. You can add/edit the Headers.list header of Camel OUT headers to modify the response SOAP headers.
Hope this help. - William On Tue, Aug 25, 2009 at 1:42 AM, Claus Ibsen<[email protected]> wrote: > On Thu, Aug 20, 2009 at 9:14 PM, trivedi kumar > b<[email protected]> wrote: >> >> Hi, >> >> I have exposed webservice using cxf and dataformat is "POJO". With in the >> router, I want to get and set the soap headers in message exchange, can >> someone help me on this? >> > > Get the attention of Willem Jiang as he works on CXF. > > >> Thanks, >> Trivedi >> -- >> View this message in context: >> http://www.nabble.com/setting-soap-headers-in-camel-cxf-router-tp25068148p25068148.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus >
