dev@jax-ws.java.net

Re: Get exception with mustUnderstand="1"

From: Jiandong Guo <Jiandong.Guo_at_Sun.COM>
Date: Wed, 06 Sep 2006 06:37:31 -0700

Arun Gupta wrote:

> 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
>
>
Thanks to Rama and Arun. This is fixed.


Jiandong