You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Scott Tully <sc...@publicip.net> on 2004/10/29 03:59:35 UTC
Stop typecasting
Hi all-
I have a problem with passing a long integer parameter into an axis web
service that normally accepts a string value.
The method's parameter is defined as a String (it holds a username)
because is has been up to now, but I have a user that needs to use a
number for a username and the number is being typecasted to a long and
the service fails to find a method to use... 21696004414140 is an
example. I have tried overloading the method, but still no joy. I
believe that I am causing an 'Integer too large' error.... Just doesn't
work.
Is there a way to stop axis from typecasting? What should I do?
TIA-
Scott