Displaying 2 results from an estimated 2 matches for "elinalaw".
2006 Apr 27
1
SOAP service - perl server, ruby consumer incompatability
...f;
}
sub set_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.a...
2006 May 21
3
Sending mail times out (ActionMailer)
Hi!
I''m on debian. Sending a mail from Rails times out:
Timeout::Error (execution expired):
/usr/local/lib/ruby/1.8/timeout.rb:54:in `new''
/usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open''
/usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout''
/usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout''