-
1. Re: How to set custom soap header information in camel route?
ffang Apr 18, 2012 2:01 AM (in response to gruzdzp)Hi,
Sounds like you just wanna manipulate xml fragment in camel router, it doesn't matter it's a soap or other xml format. If so, doesn't the camel-xslt or camel-xquery can help here?
Freeman
-
2. Re: How to set custom soap header information in camel route?
gruzdzp Apr 18, 2012 11:24 AM (in response to gruzdzp)Thanks for suggestion. Being able to manipulate whole soap envelope would suit my needs. How to enable that in camel route? (keeping in mind following conclusion)
Unfortunately, I think that only thing I can transform with this configuration is soap body. And even if I put whole soap envelope with sopa header during xslt tranformation, it still gets into Body part of message.
I have just tried to embed whole sample message in xslt and this is what soapui says:
The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage.
This is part of log message.
BodyType:org.apache.camel.component.cxf.CxfPayload, Body:
-
3. Re: How to set custom soap header information in camel route?
ffang Apr 18, 2012 7:42 PM (in response to gruzdzp)Hi,
I think you should use
if you wanna have soap envelope.
Freeman