[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

using ruby SOAP



Hi,

Looks like it's working


[13:01:21]dancer64:tmp> cat a.rb 
#!/usr/bin/ruby
# http://dev.ctor.org/soap4r/wiki/SOAP4R%E3%81%A7%E9%81%8A%E3%81%BC%E3%81%86

require 'soap/rpc/driver'
server="http://bugs.donarmstrong.com/cgi-bin/soap.cgi";
NS = 'Debbugs/SOAP/Status'

drv = SOAP::RPC::Driver.new(server, NS)
drv.add_method( 'get_status', 'number')
drv.get_status(30002).each { |bug|
  p bug
}


[13:01:26]dancer64:tmp> ./a.rb
[30002, #<SOAP::Mapping::Object:0x15713a6135bc {}found_versions=["2.0.7u-5"] {}done="Matthias Klose <doko@cs.tu-berlin.de>" {}blocks="" {}date=912026887 {}fixed_versions=[] {}mergedwith="" {}blockedby="" {}keywords="" {}msgid="<13916.25948.632152.958342@bolero>" {}id=30002 {}forwarded="" {}severity="normal" {}owner="" {}originator="Matthias Klose <doko@cs.tu-berlin.de>" {}subject="gpc doesn't work with libc6-2.0.7u-5" {}pending="done" {}tags="" {}package="libc6">]





regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project



Reply to: