Further feedback from Freeman..

>>
>> Hi Lowry,
>>
>> Inside JBI container, the message must follow the JBI style, so there's
>> no way you can access the header using SoapMessage style, even you add
>> useJBIWrapper="false", the message is not SoapMessage, it's still JBI
>> style message, just the payload has soap envelope, you have to use the
>> way I show to access the header.

[lowry] In cxf-se, if soap envelope is in payload of jbi exchange, will it
not contain the SOAP Header? We could then parse this payload to get the
header value. Seems however, the SOAP Header is not included in the soap
envelope inside the payload at the cxf SE. Therefore using the property of
exchange is the only option. Is the correct?

[freeman] Yeah, the SOAP Header is not included in the soap envelope inside
the payload, using the property of exchange is the only option. As we
already process and save the soap headers as property and we don't want to
the payload to carry duplicated infos here.
IMHO, get soap headers from property is more easy than parse it from the
payload.

-- 
View this message in context: 
http://www.nabble.com/trying-to-access-SOAP-Header-in-interceptor-of-cxfse-tp25982977p26118890.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to