have you tried to pass dates without time zome? On Thu, Feb 5, 2015 at 7:55 PM, José Fernando <[email protected]> wrote:
> Hi, > > > > I have a OpenMeetings 3.0.3 server installed and I am developing an > application to communicate with it via REST. I'm getting an error with the > axis ZONE_OFFSET reason when I call the getAppointmentByRange method. > > > > Searching the internet I found the problem AXIS2-5494 that reports a bug > in the conversion of dates with timezone, as described below: > > > > -------------------------------------------------------------------------- > > *Description* > > The date format containing seconds and timezone offset as follows > generates an exception: > > yyyy-MM-dd'T'hh:mm:ssZ > > e.g.: > > 2013-03-04T15:07:14+11:00 > > The web service call fails with the exception: > > Caused by: java.lang.IllegalArgumentException: ZONE_OFFSET > at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2316) > at java.util.Calendar.updateTime(Calendar.java:2469) > at java.util.Calendar.getTimeInMillis(Calendar.java:1088) > at > org.apache.axis2.databinding.utils.ConverterUtil.convertToDate(ConverterUtil.java:623) > > ConvertUtil.java line 596: > > int hours = Integer.parseInt(restpart.substring(1,3)); > int minits = Integer.parseInt(restpart.substring(4,6)); > timeZoneOffSet = ((hours * 60) + minits) * 60000; > > > -------------------------------------------------------------------------------------- > > > > > > This is the same problem I'm having. Has anyone had this problem? Is there > any fix for it ? > > > > Thanks, > > > > José Fernando. > > > -- WBR Maxim aka solomax
