I have to set the date in UTC to the xml beans which in turn to be sent to other platform through webservices. I am using
objCal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
for the objCal i am setting my date
if i print the date i am getting the date in required format ie Wed Jul 01 12:39:25 GMT 2009 but after setting it to xmlbeans the format is not same i am getting 2009-07-01T00:00:00.000+00:00. But iwant my previous format to be sent. I tried a lot . Can anyone help on this???
Joined: Jul 01, 2009
Please help on this. I ve to finish it by tomorrow. Am trying for the past 2 days.