on 12-07-2009 12:40 PM
Hi,
One of the transactions i am using needs a parameter of type "DateTime" as input. When i call this transaction as a web service from a JAVA application the time of the calendar object is not passed correctly. The JAVA application is passing the timezone object in IST(Asia/Calcutta) which is +5.5 hours of GMT. The xMII transaction is receiving the calendar object in timezone as IST(Asia/Calcutta) but the time automatically reduced by +5.5 hours.
For example if i pass the time as 18:30 from JAVA application, xMII is receiving as 13:00.
JAVA application and xMII are running on different machines and both are set to same timezone in windows.
PS:JAVA application is running on JAVA 1.5 and xMII running on JAVA 1.4.2 and i am using xMII 11.5.
Thanks,
Srini.
Seems xMII's web service framework is expecting the time to be in UTC. But i am not sure about it.
I fixed it by passing time in milliseconds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.