G
gregarican
I am trying to get Ruby's XMLRPC client library working on the wince
version of Ruby 1.8.1 I have installed on a Dell Axim x50. I have
created a very basic client/server routine. Something like:
Win2K server
------------
require 'xmlrpc/server'
s = XMLRPC::Server.new(port=8888, host="server_box")
s.add_handler("foo") do
return "bar"
end
Dell Axim client
----------------
require 'xmlrpc/client'
c=XMLRPC::Client.new("server_box", "/RPC2", 8888)
results = c.call("foo")
p results
When I try this simple example out the PDA client returns a
wince::strerror at the line where results=c.call("foo") is passed to
the intepreter. Therefore the results fail to print to the console.
Any ideas what's going on? I have checked around the Internet and can't
get much of a handle on this scenario.
version of Ruby 1.8.1 I have installed on a Dell Axim x50. I have
created a very basic client/server routine. Something like:
Win2K server
------------
require 'xmlrpc/server'
s = XMLRPC::Server.new(port=8888, host="server_box")
s.add_handler("foo") do
return "bar"
end
Dell Axim client
----------------
require 'xmlrpc/client'
c=XMLRPC::Client.new("server_box", "/RPC2", 8888)
results = c.call("foo")
p results
When I try this simple example out the PDA client returns a
wince::strerror at the line where results=c.call("foo") is passed to
the intepreter. Therefore the results fail to print to the console.
Any ideas what's going on? I have checked around the Internet and can't
get much of a handle on this scenario.