// Mensagem chegando
if (!outboundProperty.booleanValue()) {
SOAPMessageContext sctx = (SOAPMessageContext) messageContext;
SOAPMessage message = sctx.getMessage();
SOAPPart sp = message.getSOAPPart();
SOAPEnvelope senv = sp.getEnvelope();
SOAPHeader sh = senv.getHeader();
System.out.println("1: " + senv.getNodeName());
Iterator it2 = senv.getChildElements();
while (it2.hasNext()) {
Object obj = it2.next();
if (obj instanceof SOAPHeader) {
SOAPHeader soapHeader = (SOAPHeader) obj;
System.out.println("2: \t" + soapHeader.getNodeName());