You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2007/10/05 22:30:44 UTC

Re: Access to the name of the method being called in an inbound interceptor

soapMessage.getExchange().get(BindingOperationInfo.class)

will get you the BindingOperationInfo object from which you can get a 
whole bunch of information, including the name.

Dan


On Friday 05 October 2007, Tawfik wrote:
> I am trying to migrate from xfire to cxf.  Is there a way to know from
> whithin an interceptor which web service method was called?  In xfire
> it was somthing like
>
> soapMessage.getExchange().getOperation().getName()
>
> but in cxf I can't find a way to do the same thing...
>
> Thanks



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog