axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Davis" <...@us.ibm.com>
Subject MU checks
Date Wed, 08 Aug 2001 18:41:04 GMT
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



Mime
View raw message