Hi...
     I spent a good chunk of the afternoon trying to get
SOAP::WSDLDriverFactory.new(WSDL_URL).createDriver (or some other
likely Ruby library) to accept username/password at runtime, but as
far as I can tell, you can't get there from here.  I even installed
http-access2 trying to manipulate headers, but no dice.

Which is odd, because it's fairly trivial to do in Perl and Java.  In
Perl using SOAP::Lite, it looks like

my $USER = 'user';
my $PASS = 'password';
my $WSDL = 'http://192.168.2.103/soap/wsdl';
my $SOAP = SOAP::Lite -> service($WSDL);

Anyone know how to do basic authentication in Ruby SOAP?

-Chris

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to