[BioRuby-cvs] bioruby/lib/bio/io soapwsdl.rb,1.5,1.6
Katayama Toshiaki
k at dev.open-bio.org
Tue Sep 19 05:43:08 UTC 2006
Update of /home/repository/bioruby/bioruby/lib/bio/io
In directory dev.open-bio.org:/tmp/cvs-serv31297/lib/bio/io
Modified Files:
soapwsdl.rb
Log Message:
* minor change
Index: soapwsdl.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/soapwsdl.rb,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** soapwsdl.rb 29 May 2006 15:28:18 -0000 1.5
--- soapwsdl.rb 19 Sep 2006 05:43:06 -0000 1.6
***************
*** 3,11 ****
#
# Copyright:: Copyright (C) 2004
! # KATAYAMA Toshiaki <k at bioruby.org>
# License:: Ruby's
#
# $Id$
#
# == Examples
#
--- 3,18 ----
#
# Copyright:: Copyright (C) 2004
! # Toshiaki Katayama <k at bioruby.org>
# License:: Ruby's
#
# $Id$
#
+ begin
+ require 'soap/wsdlDriver'
+ rescue LoadError
+ end
+
+ module Bio
+
# == Examples
#
***************
*** 36,53 ****
# % export http_proxy=http://localhost:8080
#
-
- begin
- require 'soap/wsdlDriver'
- rescue LoadError
- end
-
- module Bio
-
class SOAPWSDL
! # WSDL URL
attr_reader :wsdl
! # log IO
attr_reader :log
--- 43,52 ----
# % export http_proxy=http://localhost:8080
#
class SOAPWSDL
! # Returns URL of the current WSDL file.
attr_reader :wsdl
! # Returns current logging IO.
attr_reader :log
***************
*** 71,75 ****
! # Set a WSDL URL.
def wsdl=(url)
@wsdl = url
--- 70,85 ----
! # Change the URL for WSDL file
! #
! # serv = Bio::SOAPWSDL.new("http://soap.genome.jp/KEGG.wsdl")
! #
! # or
! #
! # serv = Bio::SOAPWSDL.new
! # serv.wsdl = "http://soap.genome.jp/KEGG.wsdl"
! #
! # Note that you can't read two or more different WSDL files at once.
! # In that case, create Bio::SOAPWSDL object for each.
! #
def wsdl=(url)
@wsdl = url
***************
*** 78,82 ****
! # Set log IO
def log=(io)
@log = io
--- 88,100 ----
! # Change the IO for logging. The argument is passed to wiredump_dev method
! # of the SOAP4R, thus
! #
! # serv = Bio::SOAPWSDL.new
! # serv.log = STDERR
! #
! # will print all the SOAP transactions in standard error.
! # This feature is especially useful for debug.
! #
def log=(io)
@log = io
***************
*** 96,100 ****
private :method_missing
! end # SOAP
end # Bio
--- 114,118 ----
private :method_missing
! end # SOAPWSDL
end # Bio
More information about the bioruby-cvs
mailing list