Hi there

I'd like to put together a list of cases where an interceptor requires the 
creation of a DOM tree which results into a performance penalty.

1) If you implement a JAX-WS handler, CXF will create a DOM tree of your 
message everytime

2) If you configure the WSS4J interceptor, a DOM tree is created because of 
SAAJ dependency

3) If you create an interceptor and define something like:

getAfter().add(SAAJInInterceptor.class.getName());



4) If you implement an interceptor which extends AbstractSoapInterceptor  (not 
sure)

Are there any other cases where a DOM Tree is implicitly created?

If I want to do some soap header processing and want to avoid the creation of a 
DOM tree what is the best place to hook in?

Thanks
Oli

Reply via email to