Displaying 1 result from an estimated 1 matches for "odbcbridgeclient".
2006 Apr 27
1
SOAP service - perl server, ruby consumer incompatability
..._sql()
{
my $self = shift(@_);
my $sql = shift(@_) || "Select * from stock_master";
return "" if !($sql =~ /^select/i);
$self->{sql} = $sql;
}
1;
=== end module file ===
*Client Side*
The third file is the client.
=== client script - on /Users/elinalaw/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('...