Hi Prakash,

If you are asking for changing the defaut code which AXIS generates then for 
AXIS2 this is simple. Since the code generation logic is stored in the XSL 
files which are present in the axis jars.

If you change the template then you should be able to achieve your goal 
(however again if u want to change the code generated by AXIS)

Regards

Nilesh


----- Original Message ----
From: Prakash Subramaniam <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Thursday, August 23, 2007 11:18:08 AM
Subject: Urgent request : How to change Axis2 SOAP serialization for dates to 
use local timezone

Hi,

We are using Axis2 1.2 java version in our  project as the web service client. 
The local timezone is Australia timezone (UTC + 10:00 hrs). Entire application 
is designed to be in Australia's local timezone.. The java Calendar object that 
is part of webservice request message has been set to local timezone (Australia 
timezone). However, when Axis 2 serializes the webservice request objects into 
SOAP message, it converts the time to UTC timezone value. For example, 
australia timezone value "2007-09-01T00:00:00+10:00" is converted to 
"2007-08-31T14:00:
00.473Z" UTC value. We are using ADB for databinding.

Please let me know how to change this Axis's default behaviour so that Axis 
does not convert the date/datetime to UTC timezone.

Thanks,
Prakash








       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

Reply via email to