Hi Sanjay,
        In deed this seems to be a clock synchonization issue as pointed out
by Jose. As it seems this fails when the Rampart validates the created
element. As it seems created value contains a future time w.r.t the server
machine. You can adjust a skew value to get over from that issue using the
timestampMaxSkew [1] parameter in the Rampart Configuration.

Anyway, I hope the following timestamps your posted are not generated at the
same time. It seems to have a huge difference.

SOAP Request from your .NET client
################################
  <wsse:Security>
           <wsu:Timestamp
wsu:Id="Timestamp-74569579-8e34-407f-a10c-c27d3b119b80">
              <wsu:Created>2008-07-23T14:55:04Z</wsu:Created>
              <wsu:Expires>2008-07-23T15:00:04Z</wsu:Expires>
           </wsu:Timestamp>
  </wsse:Security>

### Java ###
<wsu:Timestamp xmlns:wsu="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
wsu:Id="Timestamp-1035988">
              <wsu:Created>2008-07-24T08:59:27.952Z</wsu:Created>
              <wsu:Expires>2008-07-24T09:04:27.952Z</wsu:Expires>
</wsu:Timestamp>

thanks,
nandana


[1] - http://ws.apache.org/rampart/rampartconfig-guide.html

On Thu, Jul 24, 2008 at 3:02 PM, Sanjay Vivek <[EMAIL PROTECTED]>
wrote:

>  Hi Nandana,
>
> I've looked at the Tomcat logs and I don't see any errors at all. I've
> looked at a few previous postings below and it appears that this issue was
> solved but unfortunately I've come across it again. Thanks
>
> Sanjay
>
>
> *
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]
> *<http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]>
>
> *
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]
> *<http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]>
>
> *
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]
> *<http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]>
>
> *
> http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]
> *<http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200706.mbox/[EMAIL 
> PROTECTED]>
>
>  ------------------------------
> *From:* Nandana Mihindukulasooriya [mailto:[EMAIL PROTECTED]
> *Sent:* 24 July 2008 10:17
> *To:* axis-user@ws.apache.org
> *Subject:* Re: Timestamp error when invoking a Rampart service from a .NET
> client.
>
>  Hi,
>     Can you post the server's stack trace ?
>
> thanks,
> nandana
>
>

Reply via email to