Passing nil to WSDL function

Consider the following script: I want to pass nil to 'eventId' instead of 0.
But ruby spits out error if i try to use nil. It works for 0.

soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
  soap.wiredump_file_base = "soapresult"

  parameterMap = { "versionSetName" => "live",
                   "eventId" => 0,
                 }

  print "\nCAlling getVersionSet...\n"
  result = soap.getVersionSetFile(parameterMap)

Thank you,
Raja

Hi,

raja@ece.gatech.edu wrote:

Consider the following script: I want to pass nil to 'eventId' instead of 0.
But ruby spits out error if i try to use nil. It works for 0.

soap = SOAP::WSDLDriverFactory.new(wsdl_url).create_rpc_driver
  soap.wiredump_file_base = "soapresult"

  parameterMap = { "versionSetName" => "live",
                   "eventId" => 0,
                 }

Can I see the WSDL and the error message you get? How it's going when
you remove 'eventId => 0' ?

Regards,
// NaHi