Re: Use WSS4JOutInterceptor to add header is broken with 2.1

2008-06-06 Thread Boxiong Ding
Ding <[EMAIL PROTECTED]> To: users@cxf.apache.org Sent: Thursday, June 5, 2008 5:56:38 PM Subject: Use WSS4JOutInterceptor to add header is broken with 2.1 I am writing a CXF client and using interceptor to add security headers in Java code. It used to work fine with 2.0.4, but broken when I u

Use WSS4JOutInterceptor to add header is broken with 2.1

2008-06-05 Thread Boxiong Ding
I am writing a CXF client and using interceptor to add security headers in Java code. It used to work fine with 2.0.4, but broken when I upgrade to 2.1 jar (the only thing changed is cxf-2.1.jar). In the following getSecurityHeader() method, it now returns null but used to return header element.