endpoint.getInInterceptors().clear();
chain.add(endpoint.getInInterceptors());
// Modified the binding in interceptors
endpoint.getBinding().getInInterceptors().clear();
endpoint.getBinding().getInInterceptors().add(new DispatchInInterceptor());
chain.add(endpoint.getBinding().getInInterceptors());
// Modified the binding out interceptors
endpoint.getBinding().getOutInterceptors().clear();
endpoint.getBinding().getOutInterceptors().add(new DispatchOutInterceptor());
chain.add(endpoint.getBinding().getOutInterceptors());