WSE 2.0 Timestamp issue
I am creating a web service client in .net 1.1 and im using WSE 2.0 sp3. Im trying to consume a service that is hosted on a java webserver, not sure if its axis, or web sphere but based on the errors I'm getting ive concluded that its some form of java server. The soap envelope im sending is pretty simple, the header contains a ws-security with a username token and a timestamp
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-8f5e1ea9-5f00-4910-b7b4-70866fc22190">
The problem is I am getting an actions number mismatch error when im sending the envelope with the timestamp. I'm using soapui to test my soap messages, and when i send it with the timestamp removed everything seems to work fine.
Wse 2.0 inserts the timestamp automotically into the soap envelope. My question is, How can I remove the timestamp from the security header? I've tried using a custom filter but that cannot work because custom filters are added to the soap message before the timestamp is. Is this something that can be written in the the policy file? will items in the policy file actually remove items in the soap message? Removing the timestamp doesnt seem like it should be this difficult.
I appreciate any help
Last Post: 02-20-2007, 08:02 PM
By rajat_sharma69 in forum .NET
Last Post: 10-17-2006, 12:17 AM
By digioz in forum ASP.NET
Last Post: 09-25-2006, 12:55 PM
By bacusgod in forum ASP.NET
Last Post: 04-07-2006, 06:24 PM
By Maria Jose Serres in forum dotnet.announcements
Last Post: 02-19-2003, 02:54 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL