Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]
Show
Ignore:
Timestamp:
07/23/05 19:28:20 (3 years ago)
Author:
nahi
Message:

updated

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/interopR2/clientBase.rb

    r1591 r1592  
    1111 
    1212$soapAction = 'http://soapinterop.org/' 
    13 =begin 
    14 $testResultServer = 'http://rrr.jin.gr.jp/soapsrv' 
    15 $testResultDrv = SOAP::RPC::Driver.new($testResultServer, SOAPBuildersInteropResult::InterfaceNS) 
     13$testResultServer = 'http://dev.ctor.org/soapsrv' 
     14$testResultDrv = SOAP::RPC::Driver.new($testResultServer, 
     15 SOAPBuildersInteropResult::InterfaceNS) 
    1616 
    1717SOAPBuildersInteropResult::Methods.each do |name, *params| 
    18   $testResultDrv.add_method(name, params) 
    19 end 
    20 =end 
     18  $testResultDrv.add_rpc_operation( 
     19      XSD::QName.new(SOAPBuildersInteropResult::InterfaceNS, name), 
     20      nil, name, params) 
     21end 
    2122 
    2223client = SOAPBuildersInteropResult::Endpoint.new 
     
    153154end 
    154155 
    155 require 'yaml' 
    156156def submitTestResult 
    157   #load 'soap/XMLSchemaDatatypes.rb' 
    158   #$testResultDrv.addResults($testResults) 
    159   filename = File.join( 
    160     File.dirname($0), 
    161     'result_' + File.basename($0).sub(/\.rb/, '.txt')) 
    162   File.open(filename, 'w') do |f| 
    163     f << YAML.dump($testResults) 
    164   end 
     157  $testResultDrv.addResults($testResults) 
    165158end 
    166159