Re: Removing timestamp in WSE 2.0
- From: "Pablo Cibraro" <pcibraro@xxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 17:43:34 -0300
Upss, sorry. I was talking about WSE 3.0.
I am not sure how to do the same with WSE 2.0.
Regards,
Pablo.
"Jan" <Jan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E4279B3-920C-40FD-8C97-B41EE9F89605@xxxxxxxxxxxxxxxx
Hi Pablo,
thank you for your response. I am not quite sure what you mean. This is
from WSE 2.0 documentation:
The order in which filters are processed is as follows:
1. Security
2. Timestamp
3. Referral
4. Routing
5. Custom filters
I implemented custom filter (:SoapOutputFilter) and also security filter
(:
SecurityOutputFilter) but both of them failed. By that I mean that
security
header was not created in runtime yet.
Can you be please more specific and give me some example how to do this?
Thank you.
Jan
"Pablo Cibraro" wrote:
Hi Jan,
Did you configure your assertion to run after the security assertion ?.
The
order of the assertions is really important.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
"Jan" <Jan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:76FB74FD-D27A-4CE7-BCFD-903CDA2F8D78@xxxxxxxxxxxxxxxx
I am developing WSE 2.0 .NET client consuming Java Web services and I
need
to
remove timestamp from outgoing SOAP message.
I implemented the SoapOutputFilter but it seems that in ProcessMessage
method Security element doesn't exist YET and therefore I cannot remove
timestamp.
I can see other header elements like Action, MessageID, ReplyTo and To
but
there is no Security element and therefore no timestamp.
Here is code example:
XmlNamespaceManager nsm = new XmlNamespaceManager(envelope.NameTable );
nsm.AddNamespace("wsse", WSSecurity.NamespaceURI);
nsm.AddNamespace("wsu", WSUtility.NamespaceURI);
XmlNode node =
envelope.Header.SelectSingleNode("//wsse:Security/wsu:Timestamp", nsm);
I need to remove Timestamp completely since the configuration of the
Java
web service I am calling doesn't support it. If I add timestamp to Java
web
service configuration it works just fine but I cannot do it since it
would
not be compatible with other existing java clients.
Any help is highly appreciated
Jan
.
- Follow-Ups:
- Re: Removing timestamp in WSE 2.0
- From: Jan
- Re: Removing timestamp in WSE 2.0
- References:
- Re: Removing timestamp in WSE 2.0
- From: Pablo Cibraro
- Re: Removing timestamp in WSE 2.0
- From: Jan
- Re: Removing timestamp in WSE 2.0
- Prev by Date: Re: WSE 3.0, SoapReceiver and Kerberos encryption
- Next by Date: Re: Removing timestamp in WSE 2.0
- Previous by thread: Re: Removing timestamp in WSE 2.0
- Next by thread: Re: Removing timestamp in WSE 2.0
- Index(es):
Relevant Pages
|