daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SOAPHeader header = msgContext.getEnvelope().getHeader();
  2. if( header != null )
  3. {
  4.     Iterator<?> blocks = soapHeader.examineAllHeaderBlocks();
  5.     while( blocks.hasNext() )
  6.     {
  7.         SOAPHeaderBlock block = (SOAPHeaderBlock)blocks.next();
  8.         if( ... some check to see if this is one of your headers ... )
  9.             block.setProcessed();
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top