Forget it, we removed the scope="request" on the interceptor and created a new 
bean with scope="request" used by the 
interceptor.
All ok,
Thank you

MT
-------- Message original --------
Sujet : Upgrade to cxf 3.1.1 & Spring 4.1.6 (was 2.5.6)
De : Thébault, Médérick <[email protected]>
Pour : [email protected] <[email protected]>
Date : 16/07/2015 15:31
> Good afternoon everybody,
>
> Here is the deal, we have an InInterceptor bean defined as follow :
>
> <bean id="httpReqObj" class="hpackinfo.cxf.interceptors.HttpReqObj" 
> scope="request">
>           <qualifier value="httpReqObj" />
>           <aop:scoped-proxy/>
> </bean>
>
> and also extending AbstractPhaseInterceptor<Message>. The web service is 
> starting fine, with no exception reported. I
> can tell it is correctly instantiated the interceptor, the break point in the 
> httpReqObj constructor is hit when
> receiving a request.
> Still, the interceptor handleMessage method is never called. It seems like 
> the interceptorChain does not contain any
> httpReqObj interceptor. Looking at doIntercept in PhaseInterceptorChain, the 
> iterator<Interceptor> line303, does not
> contain the httpReqObj interceptor.
> We have another interceptor, a logger, which has its method handleMessage 
> called correctly.
>
> Does it ring a bell to someone?
>
> Thank you very much for your help,
> Regards,
> MT
<table>
<div style="width:60%;">
<hr>
</div>
<p style="font-size:10px; font-family:Verdana;line-height:10px;color:grey;">
<b>Bretagne Angleterre Irlande (Groupe Brittany Ferries)</b><BR><BR>
Siège social : Port du Bloscon BP 72 29688 Roscoff cedex France - Tél + 33 2 98 
29 28 00 - Fax + 33 2 98 29 27 00<BR>
Société Anonyme à directoire et conseil de surveillance au capital de 
22.831.056 &euro;<BR>
RCS Brest 927 250 217 - Code APE 5010Z - Registre des Opérateurs de Voyages et 
de Séjours  N&deg; IMO29100011<BR><BR>

Ce message et toutes les pièces jointes peuvent contenir des informations 
confidentielles à l'intention exclusive de ses destinataires.<BR> 
Si vous le recevez par erreur, merci de bien vouloir nous en informer, et le 
supprimer.<BR>
This message and any attachments may contain confidential information for the 
intended recipient only.<BR> 
If you have received it in error, please contact us, and delete it.<BR>
</p>
<div style="width:60%;">
<hr>
</div>
</table>

Reply via email to