Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 32421 invoked from network); 5 May 2006 10:19:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 May 2006 10:19:08 -0000 Received: (qmail 94258 invoked by uid 500); 5 May 2006 10:18:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 94245 invoked by uid 500); 5 May 2006 10:18:56 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 94226 invoked by uid 99); 5 May 2006 10:18:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 03:18:55 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [149.8.64.10] (HELO mclmx.mail.saic.com) (149.8.64.10) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 May 2006 03:18:54 -0700 Received: from 0015-its-ieg02.mail.saic.com ([149.8.64.21] [149.8.64.21]) by mclmx.mail.saic.com for axis-user@ws.apache.org; Fri, 5 May 2006 06:18:29 -0400 Received: from mcl-its-exig01.mail.saic.com ([149.8.64.12]) by 0015-its-ieg02.mail.saic.com (SMSSMTP 4.0.5.66) with SMTP id M2006050506182626584 for ; Fri, 05 May 2006 06:18:27 -0400 Received: by mcl-its-exig01.mail.saic.com with Internet Mail Service (5.5.2657.72) id ; Fri, 5 May 2006 06:18:24 -0400 Message-Id: <199D207F17B28A4689A97FB8D50BF06408BE13@1282-its-exmp01.us.saic.com> From: "McMullin, Gregg E." To: axis-user@ws.apache.org Subject: RE: axis 1.2.1 and xsd:dateTime Help! Date: Fri, 5 May 2006 06:18:21 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) x-originalarrivaltime: 05 May 2006 10:18:22.0371 (UTC) FILETIME=[3CDEC730:01C6702D] content-class: urn:content-classes:message x-mimeole: Produced By Microsoft Exchange V6.5.7226.0 Content-Type: text/plain; charset="iso-8859-1" Sender: GREGG.E.MCMULLIN@saic.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That was it thanks! _____ From: axis-user-return-43938-GREGG.E.MCMULLIN=saic.com@ws.apache.org on behalf of Simon Fell Sent: Thu 5/4/2006 8:58 PM To: axis-user@ws.apache.org Subject: RE: axis 1.2.1 and xsd:dateTime Help! In Java month starts at 0, in XSD month starts at 1, I think this accounts for the difference you're seeing. Cheers Simon -----Original Message----- From: GREGG.E.MCMULLIN@saic.com [mailto:GREGG.E.MCMULLIN@saic.com ] Sent: Thursday, May 04, 2006 5:42 PM To: axisUser Subject: axis 1.2.1 and xsd:dateTime Help! I appear to be having an issue with the deserialization of dateTime elements. My schema defines an element like so... I turned on axis level debugging to see the following... 1997-05-01T00:00:00 1997-06-01T00:00:00 PT6H This is the correct input.... but the beginDateTime and endDateTime change after they go over the wire. The month gets decremented by one. Later in the log I see this.... 2805626 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 2805626 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::startElement(urn:esg, dateTimeRange) 2805626 [TP-Processor1] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2805626 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Pushing handler org.apache.axis.encoding.ser.BeanDeserializer@b4b4bb > 2805626 [TP-Processor1] DEBUG org.apache.axis.utils.NSStack - NSPush (32) 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::startElement(urn:esg, beginDateTime) 2805627 [TP-Processor1] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Pushing handler org.apache.axis.encoding.ser.CalendarDeserializer@1c596b1 > 2805627 [TP-Processor1] DEBUG org.apache.axis.utils.NSStack - NSPush (32) 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Exit: DeserializationContext::startElement() 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Enter: DeserializationContext::endElement(urn:esg, beginDateTime) 2805627 [TP-Processor1] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(popHandler00) 2805627 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializationContext - Popping handler org.apache.axis.encoding.ser.CalendarDeserializer@1c596b1 > 2805628 [TP-Processor1] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(setValueInTarget00) 2805628 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializerImpl - Set value java.util.GregorianCalendar[time=862444800000,areFieldsSet=true,areAllFi elds Set=true,lenient=true,zone=s un.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=fal se,t ransitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ER A=1, YEAR=1997,MONTH=4,WEEK_OF_YEAR=18,WEE K_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=121,DAY_OF_WEEK=5,DAY_OF_WEEK_IN _MON TH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_O FFSE T=0,DST_OFFSET=0] in target org.apach e.axis.encoding.ser.BeanPropertyTarget@12856f7 > 2805628 [TP-Processor1] DEBUG org.apache.axis.i18n.ProjectResourceBundle - org.apache.axis.i18n.resource::handleGetObject(setValueInTarget00) 2805628 [TP-Processor1] DEBUG org.apache.axis.encoding.DeserializerImpl - Set value java.util.GregorianCalendar[time=862444800000,areFieldsSet=true,areAllFi elds Set=true,lenient=true,zone=s un.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=fal se,t ransitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ER A=1, YEAR=1997,MONTH=4,WEEK_OF_YEAR=18,WEE K_OF_MONTH=1,DAY_OF_MONTH=1,DAY_OF_YEAR=121,DAY_OF_WEEK=5,DAY_OF_WEEK_IN _MON TH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_O FFSE T=0,DST_OFFSET=0] in target org.apach e.axis.encoding.CallbackTarget@1659dce > 2805628 [TP-Processor1] DEBUG org.apache.axis.utils.NSStack - NSPop (32) Notice that the MONTH is being set to 4. So when I get to the server the value I see for beginDateTime is 1997-04-01 which is obviously not what I'd expect. Any idea what is happening here? thanks, Gregg