Hi,

I like to use dynamic routing based on a version number. So I extended
a AbstractPhaseInterceptor<SoapMessage>

How can I easily recieve the Version from the SoapMessage. Is there a
Utility Class?

My interceptor is also called when I try to get a WSDL. Is there a way
to bypass WSDL calls?

<soapenv:Header>
  <version>2.0</version>
</soapenv:Header>

public MediatorInInterceptor() {
 super(Phase.POST_STREAM);
 addBefore(StaxInInterceptor.class.getName());
}

Regards,

Michael

Reply via email to