maoushuk Imran

Greenhorn
+ Follow
since Jul 01, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by maoushuk Imran

Please help on this asap
14 years ago
I need to do UTF-8 Character encoding for the special charecters in the input For Example the é character is encoded as & # 233; and è as & # 232; (No need of spaces in between )and so on. Can any one help on this?
14 years ago
I ve a weird problem while sending date through webservices. whatever date i'm setting is not sent properly. its always 1 day less than the original. Cod eis below with example.

calender = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
calender.setTime(objDocHeaderBean.getCreationDate());

if i print 'objDocHeaderBean.getCreationDate()' its correct (2009-06-30) . but when i send in webservices its one day less than the original (2009-06-29T00:00:00.000+00:00).

Please Help me @ the earliest. I think there is some problem with the UTC thing. Can any1 help me???
14 years ago
Latter format is one which the end user wants ie that is the format the service requestor needs while sending through webservices
Please help on this. I ve to finish it by tomorrow. Am trying for the past 2 days.
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
objCal .setTime(objDocHeaderBean.getCreationDate());
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???