Hi, Ah, sorry, it's a bit obtuse, since SOAPMessage.getSOAPHeader() is a shortcut...
SOAPMessage.getSOAPHeader() can and does return null; test is incorrect