Return-Path: Delivered-To: apmail-xml-axis-user-archive@xml.apache.org Received: (qmail 67322 invoked by uid 500); 23 Oct 2002 16:09:25 -0000 Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 67310 invoked from network); 23 Oct 2002 16:09:25 -0000 Message-ID: <3DB6C9F2.8020102@oracle.com> Date: Wed, 23 Oct 2002 09:10:26 -0700 From: Eric Rajkovic Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@xml.apache.org Subject: Re: Date is not Correct in Soap Message send to server References: <003001c27aab$ef3cca10$100aa8c0@bemnouwens> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Status: O X-Status: X-Keywords: because CEST is UTC +2, those two dates are equivalent. 2002-06-11T22:00:00.000Z = 2002-06-12T00:00:00.000+2:00 on the wire, axis always use Zulu (UTC, GMT) to transmit date. If you want to send the day date, you should use a string as you will get different result from different platforms. eric mnouwens@be-value.nl wrote: > Hi, All out There, > > I am currently having the following prblem. I Use Axis 1.0 Downloaded it > yesterday. Worked for server moths with beta 3. > > In both versions i have the following problem: > > I Wrote A Unit test: > > String dateString1= "12-06-2002"; > Date dateRet = > DateConvertor.convertDateStringToDate(dateString1); > System.out.println("Date =" + dateRet); > kl.setAflosDatum(dateRet); > binding.search(kl); > > The OutPut is the Following: > > .Date =Wed Jun 12 00:00:00 CEST 2002 > on the Console and > > xsi:type="*xsd:dateTime*">*2002-06-11T22:00:00.000Z* > > in the Soap Message > > Can some body give me a hint please. > > Marteijn Nouwens > >