Re: insert custom Soap Header problem

2013-01-29 Thread Willem jiang
Did you copy the in message body to the out message? Please do it to let camel-cxf generate the right invocation message for you. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http:/

Re: insert custom Soap Header problem

2013-01-29 Thread Gabriel
Hi Willem, I have now a Header.HEADER_LIST witch contains one outofbandHeader. But this Item (outofbandHeader) does not contain any object. I expected my simpleAuth tag here. (Please see my first post). Do you have a idea what's wrong? Thanks -- View this message in context: http://camel.4654

Re: insert custom Soap Header problem

2013-01-28 Thread Willem jiang
Yeah, you can do it by setting up a customer interceptor on the CXF endpoint. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) htt

Re: insert custom Soap Header problem

2013-01-28 Thread Willem jiang
It looks like you want to set the cxf message header before routing the request to the camel-cxf endpoint. As you know, camel message header doesn't any thing know about the CXF message headers information before routing the message into the CXF endpoint. That could explain why you get the NPE.