Re: Removing timestamp in WSE 2.0



Can you discribe how do you do it with WSE 3.0 please?

Jan

"Pablo Cibraro" wrote:

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






.



Relevant Pages

  • Re: Removing timestamp in WSE 2.0
    ... I am not sure how to do the same with WSE 2.0. ... Custom filters ... I implemented custom filter and also security filter ... remove timestamp from outgoing SOAP message. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: WSE 2.0 time fault while authentication.
    ... There are two thing that you can use to avoid the timestamp problems: ... It is usually the time skew between client and server machine. ... Syncing the client and server clocks is an impossibility in my case. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: how to remove the timestamp in WSE2
    ... Timestamp header is a part of Security header, ... So if you have clock synchronization problem, ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Passwords To Identify Users And Populate date/timestamp
    ... You should implement User-Level security which comes with Access. ... date and timestamp while they edit each record. ... > If IsNullThen GoTo pwd_invalid ... > Exit Sub ...
    (microsoft.public.access.formscoding)
  • Re: who can give me a e.g using Customer UsernameToken
    ... <response signatureOptions="IncludeAddressing, IncludeTimestamp, ... <faultstring>Microsoft.Web.Services3.Security.SecurityFault: Security ... "Pablo Cibraro" wrote: ... CustomUsernameTokenManager for the service. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)

Loading