there is not direct way to do that. 1. either do the above method 2. or Change the ConverterUtil class in adb module to serialize the date in the way you need it.
On 8/23/07, Nilesh Ghorpade <[EMAIL PROTECTED]> wrote: > > 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: [email protected] > 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 > > > ------------------------------ > Shape Yahoo! in your own image. Join our Network Research Panel > today!<http://us.rd.yahoo.com/evt=48517/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7> > -- Amila Suriarachchi, WSO2 Inc.
