You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Doug Davis <du...@us.ibm.com> on 2001/08/08 20:41:04 UTC

MU checks

In SOAPService.java:
// 1. Check mustUnderstands
SOAPEnvelope env = msgContext.getRequestMessage().getAsSOAPEnvelope();
Vector headers = env.getHeaders();
Vector misunderstoodHeaders = null;
for (int i = 0; i < headers.size(); i++) {
    SOAPHeader header = (SOAPHeader)headers.elementAt(i);
    if (header.isMustUnderstand() && !header.isProcessed()) {
        if (misunderstoodHeaders == null)
            misunderstoodHeaders = new Vector();
        misunderstoodHeaders.addElement(header);
    }
}

This will fault if *any* MU header isn't processed - this
isn't consistent with SOAP v1.1 or v1.2.  Shouldn't we
be taking into account the actor?  (for after the alpha)

-Dug