On 2009-12-10, at 下午11:35, Philip wrote:

Hello everyone,

we got a CXF-BC Consumer, which receives a SOAP message and forwards it to a
WebService. We like to add an interceptor, which saves the header
information into a variable, property or somewhere else to use them later in the smx. Freeman Fang suggested the JbiInWsdl1Interceptor [1]. We tried this Interceptor but we don't really understand how it works and how to get the
Header information this way.

Our second question:
Is it possible to add an own interceptor in the CXF-BC consumer?
For example:

<cxfbc:inInterceptors>

  <bean class=*"com.sample.OwnInterceptor"*/>

</cxfbc:inInterceptors>
yes, you can do it, that's the place you can put your interceptor in

Freeman

Do better approaches exist to get the header information?

Thanks in advance!

Best Regards,
Nicolas and Philip



[1]
https://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-cxf-bc/trunk/src/main/java/org/apache/servicemix/cxfbc/interceptors/JbiInWsdl1Interceptor.java


--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to