@Override public void configure() { // add in the response interceptor that turns the response message back into a SOAP // envelope before the response returns through the binding chain InvocationChain bindingChain = endpoint.getBindingInvocationChain(); // add transport interceptor bindingChain.addInterceptor(Phase.SERVICE_BINDING_POLICY, new Axis2ServiceBindingResponseInterceptor(endpoint) ); }
public Message invoke(Message msg) { Message response = getNext().invoke(msg);