Freeman, I tried the normalizedMessage.getProperty(JbiConstants.PROTOCOL_HEADERS) to retrieve the headers but it is still returning null in the SE, I am uploading sample code. The Soap UI call
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://samples.com/"> <soapenv:Header> <z>30</z> </soapenv:Header> <soapenv:Body> <sam:add> <x>10</x> <y>20</y> </sam:add> </soapenv:Body> </soapenv:Envelope> thanks -gopal Freeman Fang wrote: > > Hi, > > Use normalizedMessage.getProperty(JbiConstants.PROTOCOL_HEADERS) to > retrieve the soap headers. > Freeman > > GNarra wrote: >> All, >> >> In servicemix-http --> servicemix-jsrr181, We could get the soap header >> in >> the jsr181 SE using this code >> ex.getMessage("in").getProperty(JbiConstants.SOAP_HEADERS);, but this >> same >> code returns null if it is in CXF-SE. >> >> How do I access the soap headers from the message exchange in CXF-SE? >> >> thanks >> -gopal >> > > > -- > Freeman Fang > ------------------------ > Open Source SOA: http://fusesource.com > > > http://www.nabble.com/file/p23325934/CXFSamples.zip CXFSamples.zip -- View this message in context: http://www.nabble.com/Accesing-Soap-Header-in-CXF-SE-tp23307319p23325934.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
