[BioRuby-cvs] bioruby/lib/bio/io soapwsdl.rb,1.1,1.2
Katayama Toshiaki
k at pub.open-bio.org
Sun Oct 23 06:41:02 EDT 2005
Update of /home/repository/bioruby/bioruby/lib/bio/io
In directory pub.open-bio.org:/tmp/cvs-serv19173/io
Modified Files:
soapwsdl.rb
Log Message:
* Fixed to run with Ruby 1.8.3 (API of the SOAP4R is changed between
1.8.2 and 1.8.3)
Index: soapwsdl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/soapwsdl.rb,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** soapwsdl.rb 23 Jun 2004 14:32:15 -0000 1.1
--- soapwsdl.rb 23 Oct 2005 10:41:00 -0000 1.2
***************
*** 38,42 ****
def create_driver
! @driver = SOAP::WSDLDriverFactory.new(@wsdl).create_driver
@driver.generate_explicit_type = true # Ruby obj <-> SOAP obj
end
--- 38,46 ----
def create_driver
! if RUBY_VERSION > "1.8.2"
! @driver = SOAP::WSDLDriverFactory.new(@wsdl).create_rpc_driver
! else
! @driver = SOAP::WSDLDriverFactory.new(@wsdl).create_driver
! end
@driver.generate_explicit_type = true # Ruby obj <-> SOAP obj
end
***************
*** 59,61 ****
--- 63,80 ----
end # Bio
+
+ =begin
+
+ To use HTTP proxy, you need to set following two environmental variables
+ (case might be insensitive) as required by SOAP4R.
+
+ --- soap_use_proxy
+
+ Set the value of this variable to 'on'.
+
+ --- http_proxy
+
+ Set the URL of your proxy server (http://myproxy.com:8080 etc.).
+
+ =end
More information about the bioruby-cvs
mailing list