[quote]I am working on a custom interceptor, which performs authentication before invoking the actual service. My problem is: this interceptor must be able to directly send a custom response, generated as a javax.xml.soap.SOAPMessage object, without invoking the service.[/quote]
Hopefully someone else can answer for an interceptor, but I know how to do this with a JAX-WS handler at least: http://www.jroller.com/gmazza/entry/jaxws_handler_tutorial , which links to this sample (client-side, but probably similar process for service-side): http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/demo/handlers/common/SmallNumberHandler.java?view=markup -- View this message in context: http://cxf.547215.n5.nabble.com/Interceptors-sending-a-custom-response-before-invoking-the-service-tp2644637p2644746.html Sent from the cxf-user mailing list archive at Nabble.com.
