XMLRPC4R Bignum problem

I am using XML RPC4R package, I have the server implemented in java and
I am writing a client in ruby. But i realize I can’t pass Ints bigger
than 32bits a parameter to the call or call2 methods in xml rpc client.
What can be done if I need to pass in Bignum as java server is expecting
a Long int parameter?