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

Reply via email to