By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,559 Members | 2,992 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,559 IT Pros & Developers. It's quick & easy.

WSDL Java to .net date conversion difference...date set in java is not received

P: 1
The requirement is to send start data and end date from java to UI (.net) for a functionality.

We are setting the time in java (1.5) before handing it over to WebService (sending to UI ) in "ASIA/KUALA_LUMPUR" (MYT) TIMEZONE. OS WIN-XP

Strangely UI receives a different date.

java side
[setEndDate :: = Fri Aug 31 00:00:00 MYT 2007]
UI side
[Date:: = Thu Aug 30 00:00:00]

Any Idea, why this is happening. I have caputured the above times just before passing to webservice and soon after receiving from webservice at UI side...or .Net.

Is this due to a conversion from java.util.Calendar to c# DateTime object as part of .net framewok default conversion.

Assuming WSDL takes Calendar objects only...

Inputs and feedback are greatly appreciated...

Thanks,
Vamshi.
Sep 4 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
The requirement is to send start data and end date from java to UI (.net) for a functionality.

We are setting the time in java (1.5) before handing it over to WebService (sending to UI ) in "ASIA/KUALA_LUMPUR" (MYT) TIMEZONE. OS WIN-XP

Strangely UI receives a different date.

java side
[setEndDate :: = Fri Aug 31 00:00:00 MYT 2007]
UI side
[Date:: = Thu Aug 30 00:00:00]

Any Idea, why this is happening. I have caputured the above times just before passing to webservice and soon after receiving from webservice at UI side...or .Net.

Is this due to a conversion from java.util.Calendar to c# DateTime object as part of .net framewok default conversion.

Assuming WSDL takes Calendar objects only...

Inputs and feedback are greatly appreciated...

Thanks,
Vamshi.
Can you post the code you used to retrieve the date?
Sep 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.