I have enable the WS-Security Encryption and Signature as shown below
        cxfEndpoint.getOutInterceptors().add(wssOut);
        cxfEndpoint.getOutInterceptors().add(new SAAJOutInterceptor());
        cxfEndpoint.getOutInterceptors().add(new MySOAPHandlerOut());

Notice that there's an additional MySOAPHandlerOut where this Interceptor
will add extra element (MyToken) into the SOAP Header

   <soap:Header>
      <wsse:Security .....>
                .....
      </wsse:Security>
      <ns:MyToken>
                .....
      </ns:MyToken>
   </soap:Header>

Is there any guidance I can refer to? Regards 
-- 
View this message in context: 
http://www.nabble.com/Additional-Soap-Header-Element-tp24068079p24068079.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to