Hi
On 18/09/12 14:46, rouble wrote:
CXFers,
Is there a way to forward a message to a *remote* web service?
Similar to what is done here:
http://cxf.apache.org/docs/service-routing.html, but I am interested
in forwarding the message off box to a remote web service from the
interceptor.
I noticed that there is a documented way to do this using camel:
http://camel.apache.org/cxf-proxy-example.html... but I am interested in
doing it using just CXF and interceptors.
I guess one option (for SOAP) is to abort an incoming chain and set say
redirect 302 and Location header in the response header - the client
runtime will need to support auto redirects for this to work
Perhaps another option is to do a remote invocation from the in
interceptor and then make the response available to the outbound chain -
not sure about the details,
Dan will be back shortly so he may have more hints ready
Cheers, Sergey
tia,
rouble