Displaying 1 result from an estimated 1 matches for "add_rpc_method".
2006 Apr 27
1
SOAP service - perl server, ruby consumer incompatability
...w/src/odbcBridgeClient.rb ===
require ''soap/rpc/driver''
begin
ENDPOINT = ''http://elina/cgi-bin/misc/OdbcBridgeServer.pl''
NAMESPACE = ''http://elina/cgi-bin/misc/OdbcBridgeServer''
ob = SOAP::RPC::Driver.new(ENDPOINT, NAMESPACE)
ob.add_rpc_method(''set_sql'', ''a_string'')
rescue Exception => ex
puts "first block"
puts ex
end
begin
ob.call("set_sql", "select * from cre_master")
rescue Exception => ex
puts "second block"
puts ex
end
=== end cli...