Re: Removing timestamp in WSE 2.0



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
    ... "Pablo Cibraro" wrote: ... Custom filters ... I implemented custom filter and also security filter ... remove timestamp from outgoing SOAP message. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: DIME WSE 2.0 in .NET 2.0
    ... you can move it to a machine that has only .NET 2.0 installed(also WSE ... BTW, as for the custom SAML token manager, if you removed it or change to ... Microsoft MSDN Online Support Lead ... If we need only to maintain the custom security dlls in .NET ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: WSE 3.0 X.509 certs problem
    ... Please I need your help because you had done a lot of experimenting with WSE ... secure with these certs - no rocket science here. ... Microsoft.Web.Services3.Security.SecureConversationServiceSendSecurityFilter.SecureMessage(SoapEnvelope envelope, Security security) ... if the certificate has been properly installed in the Trusted People ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Security Implementation
    ... Ask on the wse ng and I could post there, but someone will probably post first. ... WSE and using one of the security token types ... SCT is more secure, but does require a server cert or you can use my method ... > validate it...similar to FormsAuthenticaion in ASP.net. ...
    (microsoft.public.dotnet.general)
  • Re: secure a WS called via GPRS
    ... You can use the WSE 2.0 implementation for the Compact Framework here. ... I understand you're consider a security mechanism ... secure your ASP.NET webservice which will be consumed by many smart ... since WSE 3.0 only support .net framework ...
    (microsoft.public.dotnet.framework.webservices.enhancements)