cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: xfire to cxf migration
Date Tue, 29 Jul 2008 17:01:52 GMT

I believe JAX-WS handlers (analogous to interceptors but also compatible with
Metro) along with SAAJ are good for working with SOAP Headers.  There is a
MessageContext within the JAX-WS handlers that will allow you to pass off
data to the service implementation bean that ultimately handles the SOAP
request.  I have not done this before, but here is information I collected
on this topic:


Gerson Galang wrote:
> From what I've read, the invoke() method in the Handler has been replaced
> by
> the handleMessage() method of the Interceptor. The problem I have is how I
> could get hold of the header Element. Can you tell me the CXF equivalent
> of
> this XFire code?
>      Element header = context.getInMessage().getHeader();

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message