What does the failing Timestamp look like? Colm.
On Wed, Aug 14, 2013 at 1:07 PM, Ted Roeloffzen <[email protected]>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 <[email protected]> > > > 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 <[email protected] > > >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 <[email protected]> > > >> > > >> 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
