SOAPHeader header = envelope.getHeader();
if (header == null) {
header = envelope.addHeader();
}
SOAPHeaderElement headerElement = header.addHeaderElement(qname);
// QName soapMustUnderstand = new QName("http://schemas.xmlsoap.org/soap/envelope/",
// "mustUnderstand");
Name name = SOAPFactory.newInstance()
.createName("mustUnderstand", "soap", "http://schemas.xmlsoap.org/soap/envelope/");
headerElement.addAttribute(name, "1");
} else {
getHandlerInfoList(ctx).add(getHandlerId());
}
}
} catch (SOAPException e) {