cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: WSSE TimeStamp in Header
Date Wed, 14 Aug 2013 12:13:52 GMT
What does the failing Timestamp look like?

Colm.


On Wed, Aug 14, 2013 at 1:07 PM, Ted Roeloffzen <ted.roeloffzen@gmail.com>wrote:

> I'm getting the following error: Expiry date must be in the future.
>
> I think that the service that i'm calling isn't using the UTC-Timezone, but
> the timezone that we're in.
> I'll contact the party that created the service and ask for some technical
> specifications, to see if my assumptions are correct.
>
>
> 2013/8/14 Colm O hEigeartaigh <coheigea@apache.org>
>
> > Using UTC is correct. What is the exact error you are getting? If there
> is
> > a time difference of greater than 5 minutes between the two sides then
> the
> > Timestamp will not be valid. It doesn't matter what timezone you are in,
> as
> > WSS4J will convert it to UTC to compare against the Timestamp value
> first.
> >
> > Colm.
> >
> >
> > On Wed, Aug 14, 2013 at 12:55 PM, Alessio Soldano <asoldano@redhat.com
> > >wrote:
> >
> > > Usign UTC timezone for timestamps is the right approach (and possibly
> > also
> > > mandated by specs, I'd need to check though).
> > >
> > >
> > >
> > > On 14/08/13 13:46, Ted Roeloffzen wrote:
> > >
> > >> Hi All,
> > >>
> > >> I've figured out why it is going wrong.
> > >> It seems that UTC is used as the TimeZone and this is 2 hours behind
> my
> > >> own.
> > >> But how can i make sure that the correct timezone is used?
> > >>
> > >> Ted
> > >>
> > >>
> > >>
> > >> 2013/8/14 Ted Roeloffzen <ted.roeloffzen@gmail.com>
> > >>
> > >>  Hi All,
> > >>>
> > >>> I'm having trouble with the timestamp that is created through CXF.
> > >>> The TimeStamp that is created is incorrect.
> > >>> That is, because it is 2 hours in the past.
> > >>> I assume that it has to do with the locale or timezone that is being
> > >>> used,
> > >>> but i can't find where to configure it.
> > >>>
> > >>> kind regards,
> > >>>
> > >>> Ted
> > >>>
> > >>>
> > >
> >
> >
> > --
> > Colm O hEigeartaigh
> >
> > Talend Community Coder
> > http://coders.talend.com
> >
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message