Hi,

Something like
SoapMessage message = (SoapMessage)PhaseInterceptorChain.getCurrentMessage();
for (Header header : message.getHeaders()) {
  //print out the soap headers
}

Freeman
On 2011-4-11, at 下午11:50, Raj Floyd wrote:

Hi,

Does CXF has any API to display the SOAP headers? I saw
org.apache.cxf.headers package and wondering if that can help. Any example would be appreciated. Would like to display headers in the service method.

Thx

Raj

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference








Reply via email to