[BioRuby] esoap.rb

Toshiaki Katayama ktym at hgc.jp
Thu Dec 9 23:53:43 EST 2004


Hi,

I have not completed esoap.rb yet. :)

It seems that wsdl:import fails when loading eutils.wsdl
in Ruby 1.8.1 (comes with SOAP4R).  Any ideas?

Regards,
Toshiaki Katayama

esoap_test.rb:
-------------------------
#!/usr/bin/env ruby

require 'soap/wsdlDriver'

wsdl = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl"

driver = SOAP::WSDLDriverFactory.new(wsdl).create_driver
-------------------------

% ruby esoap.rb
/usr/local/lib/ruby/1.8/soap/netHttpClient.rb:121:in 
`create_connection': Cannot connect to egquery.xsd (Not HTTP.) 
(RuntimeError)
         from /usr/local/lib/ruby/1.8/soap/netHttpClient.rb:91:in `start'
         from /usr/local/lib/ruby/1.8/soap/netHttpClient.rb:82:in 
`get_content'
         from /usr/local/lib/ruby/1.8/wsdl/importer.rb:39:in `import'
         from /usr/local/lib/ruby/1.8/wsdl/importer.rb:20:in `import'
         from /usr/local/lib/ruby/1.8/wsdl/import.rb:65:in `import'
         from /usr/local/lib/ruby/1.8/wsdl/import.rb:49:in `parse_attr'
         from /usr/local/lib/ruby/1.8/wsdl/parser.rb:141:in `decode_tag'
         from /usr/local/lib/ruby/1.8/wsdl/parser.rb:124:in `each'
          ... 9 levels...
         from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:69:in `import'
         from /usr/local/lib/ruby/1.8/soap/wsdlDriver.rb:33:in 
`initialize'
         from esoap_test.rb:5:in `new'
         from esoap_test.rb:5



On 2004/12/10, at 7:51, Moses Hohman wrote:

> It would be great if you could help out. esoap.rb is not in CVS, so 
> Toshiaki will have to email it : )
>
> Moses
>
> On Dec 9, 2004, at 4:35 PM, david wheeler wrote:
>
>> Hi:
>>
>> Is it still true that esoap.rb is not working? Is the current version
>> available?  If so, I'd be happy to help if I could get a copy.
>>
>> David Wheeler, NCBI
>>
>>
>> _______________________________________________
>> BioRuby mailing list
>> BioRuby at open-bio.org
>> http://portal.open-bio.org/mailman/listinfo/bioruby
>>
>
> _______________________________________________
> BioRuby mailing list
> BioRuby at open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioruby



More information about the BioRuby mailing list