You would probably need to write your own interceptor that would
determine the appropriate configuration and then adds that to the chain.
Basically, write an interceptor that does:
public void handleMessage(Message message) {
SOAPMessage msg = message.getContent(SOAPMessage.class);
Hi
CXF provides a flexible configuration of interceptor. You can
configure the interceptor in Bus level or in Endpoint level. For you
case, I think you can define the WSS4J interceptor in your Endpoint B,
and add the SAAJ*Interceptor in the bus. In this way, the EndpointA will
not check the
/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations?
I'm
looking
for something like the org.codehaus.xfire.annotations.InHandlers
annotations in CXF that allow to specify
inbound/outbound fault/message interceptors (i.e. CXF handlers)
..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using
annotations? I'm
looking
for something like
.
There are no custom annotations in CXF that allow to specify
inbound/outbound fault/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations? I'm
looking
for something like
wrote:
Is there support for configuring interceptors using annotations? I'm
looking
for something like the org.codehaus.xfire.annotations.InHandlers and
org.codehaus.xfire.annotations.OutHandlers class where were
present in
XFire.
I'm thinking of writing similar
fault/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations? I'm
looking
for something like the org.codehaus.xfire.annotations.InHandlers and
org.codehaus.xfire.annotations.OutHandlers
.
There are no custom annotations in CXF that allow to specify
inbound/outbound fault/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations?
I'm
looking
for something like
annotations in CXF that allow to specify
inbound/outbound fault/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations?
I'm
looking
for something like
Is there support for configuring interceptors using annotations? I'm looking
for something like the org.codehaus.xfire.annotations.InHandlers and
org.codehaus.xfire.annotations.OutHandlers class where were present in
XFire.
I'm thinking of writing similar annotations and want to make sure
for JAX-WS handlers.
There are no custom annotations in CXF that allow to specify
inbound/outbound fault/message interceptors (i.e. CXF handlers) ..
Regards,
Andrea.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations? I'm
looking
for something like
.
Zarar Siddiqi wrote:
Is there support for configuring interceptors using annotations? I'm
looking
for something like the org.codehaus.xfire.annotations.InHandlers and
org.codehaus.xfire.annotations.OutHandlers class where were present in
XFire.
I'm thinking of writing similar annotations
12 matches
Mail list logo