Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
java
java
public class MySoapInterceptor extends AbstractSoapInterceptor {
  public MySoapInterceptor () {
    super(Phase.PRE_PROTOCOL);
  }

  public MySoapInterceptor (String phase) {
    super(phase);
  }

  public void handleMessage(SoapMessage msg) throws SoapFault {
    System.out.println("Hello World!");
  }
}

...