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 <cohei...@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 <asold...@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.roeloff...@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 >