Newbie - BigInt

2005-12-12 Thread Jim Steil




I am trying to call a SOAP web service with python and I having success
unless I need to pass a BigInteger parameter.  Since python is
dynamically typed it seems to be sending a regular int instead of
BigInteger and my web service doesn't like that.  Is there a way for me
to tell my variable that it should be a big integer instead of int?

    -Jim
-- 
Jim Steil

VP of Application Development
CustomCall Data Systems
(608) 274-3009 x286



-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Newbie - BigInt

2005-12-12 Thread Jim Steil




SOAPpy

    -Jim

Jim Steil

VP of Application Development
CustomCall Data Systems
(608) 274-3009 x286



Fredrik Lundh wrote:

  Jim Steil wrote

  
  
I am trying to call a SOAP web service with python and I having success
unless I need to pass a BigInteger parameter.  Since python is
dynamically typed it seems to be sending a regular int instead of
BigInteger and my web service doesn't like that.  Is there a way for me
to tell my variable that it should be a big integer instead of int?

  
  
it might help to know what SOAP library you're using.





  



-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Newbie - BigInt

2005-12-12 Thread Jim Steil




Found my answer.

x = 1L

sets x to 1 and makes it a type of Long.  I tested with my web
service and it works.

    -Jim

Jim Steil

VP of Application Development
CustomCall Data Systems
(608) 274-3009 x286



Fredrik Lundh wrote:

  Jim Steil wrote

  
  
I am trying to call a SOAP web service with python and I having success
unless I need to pass a BigInteger parameter.  Since python is
dynamically typed it seems to be sending a regular int instead of
BigInteger and my web service doesn't like that.  Is there a way for me
to tell my variable that it should be a big integer instead of int?

  
  
it might help to know what SOAP library you're using.





  



-- 
http://mail.python.org/mailman/listinfo/python-list