axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: MU checks
Date Wed, 08 Aug 2001 18:53:07 GMT

Right.  It's on the plate for post-alpha.

> -----Original Message-----
> From: Doug Davis [mailto:dug@us.ibm.com]
> Sent: Wednesday, August 08, 2001 2:41 PM
> To: axis-dev@xml.apache.org
> Subject: 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
> 
> 

Mime
View raw message