axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanno Fietz <ha...@theuprightape.net>
Subject Re: Axis-C 1.5.0: Bug in DateTime.cpp?
Date Tue, 11 Oct 2005 12:27:22 GMT
Hello Samisa,

I created a jira issue, which can be found here 
<http://issues.apache.org/jira/browse/AXISCPP-852>. Hope it helps.

Thanks for your help.

Regards,
Hanno

Samisa Abeysinghe wrote:

> Hanno Fietz wrote:
>
>> Hello,
>>
>> we are migrating from Axis-Java to Axis-C and are currently running a
>> test installation. We had difficulties with date de-/serialization and
>> after some research found that dateTime strings from our SOAP-Messages
>> were not processed as we expected. It seemed that for example
>> 2005-10-09T13:00:00+02:00 was converted to 9th of October, 2005,
>> 15:00:00 UTC, which is not the way it should be, as far as I got ISO
>> 9801. Here is what we changed in the Axis sources
>> (src/soap/xsd/DateTime.cpp) to make it work for us:
>>
>> 123c123
>> <         time_t now = 0;
>> ---
>>
>>>         time_t now = time(0); /***time_t now = 0; ***/
>>
>>
>> 189c189
>> <         time_t now = 0;
>> ---
>>
>>>         time_t now = time(0);  /*** time_t now = 0; ***/
>>
>>
>> 287c287
>> <                 timeInSecs += secs;
>> ---
>>
>>>                 timeInSecs -= secs;  /*** timeInSecs += secs; ***/
>>
>>
>> 291c291
>> <                 timeInSecs -= secs;
>> ---
>>
>>>                 timeInSecs += secs;  /*** timeInSecs -= secs; ***/
>>
>>
>>
>> Comments would be appreciated. If this was a bug, is there anything, I
>> can do to contribute our fix to the official sources?
>
>
> This looks a bug to me. (We have been having several issues with Date)
> Please create a Jira issue, and attach the diff with respect to the 
> svn head to the issue created.
>
> Thanks,
> Samisa...
>
>>
>> Regards,
>>
>> Hanno Fietz
>>
>>
>
>
>

Mime
View raw message