passing nil to WSDL function

R

raja

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,209
Messages
2,571,087
Members
47,686
Latest member
sparada

Latest Threads

Top