Thanks,
I have already your solution but it not works. The solution is to
override SecureMessage method, because Timestamp header is not in Soap
Header until the call to SecureMessage method, not in ProcessMessage.
Pablo Cibraro [MVP] - 27 Oct 2006 14:52 GMT
Hi,
In addition, you have to remove the option to sign the timestamp header.
Othewise, the signature created by WSE will have a reference to a
non-existing element.
Regards,
Pablo Cibraro.
> Thanks,
>
> I have already your solution but it not works. The solution is to
> override SecureMessage method, because Timestamp header is not in Soap
> Header until the call to SecureMessage method, not in ProcessMessage.
Rasika WIJAYARATNE - 29 Oct 2006 22:39 GMT
That is unusual because I already have the method I suggested earlier
working. I have placed my filter right at the end of the pipeline (this
maybe why mine works) and can gain access to the soap header object's
xml. I then get a reference to the
//wsse:Security/wsu:Timestamp
node and then remove it, and in the output xml it no longer appears.
However your method seems to be a better way to do it as to my
understanding it is removing the timestamp earlier, if not before it is
even added.
Rasika.
> Thanks,
>
> I have already your solution but it not works. The solution is to
> override SecureMessage method, because Timestamp header is not in Soap
> Header until the call to SecureMessage method, not in ProcessMessage.