axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rajkovic <eric.rajko...@oracle.com>
Subject Re: Date is not Correct in Soap Message send to server
Date Wed, 23 Oct 2002 16:10:26 GMT
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
>  
> <aflosDatum 
> xsi:type="*xsd:dateTime*">*2002-06-11T22:00:00.000Z*</aflosDatum>
>  
> in the Soap Message
>  
> Can some body give me a hint please.
>  
> Marteijn Nouwens
>  
>  


Mime
View raw message