Displaying 1 result from an estimated 1 matches for "formattednumber".
2006 Jul 28
3
ActionWebService Struct member name including ''-''
...def remote-ip; @remote-ip; end
I can make the call OK (as below)
server = XMLRPC::Client.new2("http://127.0.0.1:3001/api/checkNumber")
result = server.call("IsValid",
{:username=>"user",:password=>"pass",:"remote-ip"=>request.remote_ip},@formattedNumber)
You will notice I have to use :"remote-ip" instead of :remote-ip. This
is because of the ''-''. The XML is sent perfectly fine and I can see the
remote-ip in the sent XML, but it''s NOT in the raw posted information.
Web Service Request: IsValid(param0=>#&...