Hello,
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

...
<soap:Header>
<wsse:Security soap:mustUnderstand="1">
<wsu:Timestamp wsu:Id="Timestamp-a55717e4-db66-4dd7-a481-1e813ee4ef58">
<wsu:Created>2007-04-03T13:44:32Z</wsu:Created>
<wsu:Expires>2007-04-03T13:49:32Z</wsu:Expires>
</wsu: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">
<wsse:Username>####</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">#####</wsse:Password>
<wsse:Nonce>#####</wsse:Nonce>
<wsu:Created>2007-04-03T13:44:32Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>.....
</soap:Envelope>

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