Newbie - BigInt
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
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
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