I am getting an error when trying to access a web service via soap
soap_client = SOAP::WSDLDriverFactory.new('http://api.upsidewireless.com/soap/Authentication.asmx?WSDL') driver = soap_client.createDriver @p = driver.GetParameters(:username => 'uname', :password => 'pword') #ERROR => wrong number of arguments (1 for 2)
I can clearly see two arguments for this method call. Why would I be getting this error?
WSDLDriver is deprecated (called from createDriver). You should use ‘create_rpc_driver’. I get back a response with that method from your example. Is there some reason not to use ‘create_rpc_driver’ ?