Hi,    Thanks andreas. But the below link could not solve my problem. Any one 
pls suggest me how to fix this issue

Thanks & Regards,
Ram
    

--- On Sat, 5/12/09, Andreas Veithen <andreas.veit...@gmail.com> wrote:

From: Andreas Veithen <andreas.veit...@gmail.com>
Subject: Re: java.util.date convertion to UnsignedInt problem
To: axis-user@ws.apache.org
Date: Saturday, 5 December, 2009, 4:04 PM

Please have a look at [1].

Andreas

[1] http://www.w3.org/TR/xmlschema-2/#unsignedInt

On Fri, Dec 4, 2009 at 17:13, Anup Mayank <anup.may...@gmail.com> wrote:
>
> /** validate the value against the xsd definition */
> 79 public static boolean isValid(long iValue) {
> 80 return !((iValue < 0L) || (iValue > 4294967295L));
> 81 }
> This is the source code of Unsigned int where it validates if a number is of 
> proper value or not. I am not sure how the particular max number is chosen. 
> But since your date value is out of range it is throwing exception. Axis 
> folks please explain this range?
>
> Anup
> On Fri, Dec 4, 2009 at 8:01 AM, ram <ram_ku...@yahoo.co.in> wrote:
>>
>> Hi,
>>    I am trying to convert java.util.date to UnsignedInt(). I am getting 
>> NumberFormatException
>> I am fetching the date from database.  I am converting unsignedInt()  like 
>> the following
>>
>>  new UnsignedInt(info.getdate.getTime())
>>
>>     when i print date i am getting 1259937492847.      so where do i am 
>> doing mistake.
>>  Can any onehelp to fix this issue.
>>
>>
>> Thanks & Regards,
>> Ram
>>
>> ________________________________
>> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/

Reply via email to