cancel
Showing results for 
Search instead for 
Did you mean: 

Passing calendar object to xMII

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.