How can I prevent Apache CXF from sending a response message?
问题 In cases where a given SOAP header element has a given value (for example, if the value of the header tag "response" is "0"), I don't want Apache CXF to return a response at all. How can I do this? It appears that CXF makes the assumption that all calls will receive a response. (I know this seems strange in a web services context, but if your transport is JMS, it seems less strange). 回答1: I've been able to do this with an interceptor that aborts the interceptor chain. I've tested this with an