dev@jax-ws.java.net

Re: Get exception with mustUnderstand="1"

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Tue, 05 Sep 2006 15:22:33 -0700

Jiandong,

>> I think I know whats happening.
>> If you are creating a new Message without using the old HeaderList,
>> you are resetting the understood headers in that HeaderList. WSA Pipe
>> initially might have set it as understood but reset by Security pipe.
>> MUPipe throws an error as it is does n't see the wsa header as
>> understood.
>
> Yes. That is what's happening.

Now that we know what is happening, are you using WsaRuntimeFactory to
read the WS-A headers ? It still uses the same piece of code so should
still be marking the headers as understood.

-Arun


-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta