I have to set some http header fields in a Apache CXF client:
I tried it via Interceptor:
public class HttpHeaderInterceptor extends AbstractPhas
You should have used :Phase.POST_LOGICAL instead of Phase.POST. This worked for me
Phase.POST_LOGICAL
Phase.POST