Well, first of all thanks for the reply.... Not sure if I interpret your answer.
I mean, even I know that a SOAP Interceptor is required. So, my question is : 1. Do I need to make any change in xbean.xml to sue any of the SOAPInterceptor ? 2. Which interceptor should I use ? 3. When I did try some, it gave me an error saying JBIMessage cannot be converted to SOAP etc 4. How do I actually 'Retrieve' XML data from the SOAP env? I mean the code. Your elaborate answer will help me a lot! Thanks, Milan Freeman Fang wrote: > > Hi, > The message inside servicemix container is JBI style message, which > means the message with JBI wrapper. > If you want to capture the soap xml request, you need add similar > interceptors for cxf bc endpoint. > > Freeman > > doshi_milan wrote: >> Thanks for the reply. But I do have an issue. Actually I am supposed to >> capture the SOAP XML request and it seems that the request that I capture >> is >> NOT really a SOAP request. >> >> Hence , it seems that there is a major change in the Interceptors that I >> am >> using. I guess I should be using SOAP interceptors... Can I know which >> interceptor should I be using and more importantly how do I get SOAP >> REQUEST >> / RESPONSE XML message instead of a jbi message ? >> >> Is this how I should be defining my XBean ? >> >> <cxfse:endpoint useJBIWrapper="false" > >> <cxfse:pojo> >> <bean >> class="com.powercatalyst.ods.osl.pricedata.OdsPriceDataImpl" >> /> >> </cxfse:pojo> >> : : >> >> I need to be able to retrieve the request XML from the SOAP Interceptor. >> I >> would appreciate if that is also stated to me. >> >> Thanks and regards, >> Milan >> >> >> >> > -- View this message in context: http://www.nabble.com/Retrieving-SOAP-Header-and-SOAP-Body-using-Interceptors-tp20466758p20508645.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
