On Thu April 23 2009 4:20:31 pm Tedman Leung wrote:
> Does anyone know the easiest way to find out what web service and method
> is being called given the SoapMessage on the server side?
>
> I'm trying to determine that in an InInterceptor in the handleMessage()
> method right now.

Depends on where in the chain you are.    In the early parts of the chain, 
it's not really possible as the body hasn't been processed yet.  It may not 
even have been pulled off the wire.   Or it could be encrypted.   Etc.....

In the latter parts of the chain, you can call 
message.getExchange().get(BindingOperationInfo.class) and from that gather 
whatever information you want.


-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to