Thanks a lot for you reply
I tried but it didn't have any effect at all.
I found another good solution though, I extended SOAPHeaderElement class, and override its outputImpl(SerializationContext context) method, then used document builder to build my XML header element, at the end I call this context.writeDOMElement(elem);
And it works!
Regards.