Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1591

Show
Ignore:
Timestamp:
07/23/05 17:47:30 (3 years ago)
Author:
nahi
Message:

do not post the result.

Files:

Legend:

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

    r1520 r1591  
    1111 
    1212$soapAction = 'http://soapinterop.org/' 
    13 # $testResultServer = 'http://rrr.jin.gr.jp/soapsrv' 
     13=begin 
     14$testResultServer = 'http://rrr.jin.gr.jp/soapsrv' 
    1415$testResultDrv = SOAP::RPC::Driver.new($testResultServer, SOAPBuildersInteropResult::InterfaceNS) 
    1516 
     
    1718  $testResultDrv.add_method(name, params) 
    1819end 
     20=end 
    1921 
    2022client = SOAPBuildersInteropResult::Endpoint.new 
     
    4749 
    4850def methodDefBase(drv) 
    49   drv.soapaction = $soapAction 
    5051  SOAPBuildersInterop::MethodsBase.each do |name, *params| 
    51     drv.add_method(name, params) 
     52    drv.add_rpc_operation( 
     53      XSD::QName.new(InterfaceNS, name), $soapAction, name, params) 
    5254  end 
    5355end 
    5456 
    5557def methodDefGroupB(drv) 
    56   drv.soapaction = $soapAction 
    5758  SOAPBuildersInterop::MethodsGroupB.each do |name, *params| 
    58     drv.add_method(name, params) 
     59    drv.add_rpc_operation( 
     60      XSD::QName.new(InterfaceNS, name), $soapAction, name, params) 
    5961  end 
    6062end 
     
    142144      resultStr, 
    143145      $wireDumpDev.dup 
    144    
    145  
     146   
     147 
    146148  $wireDumpLogFile << "Result: #{ resultStr || 'OK' }\n\n" 
    147149  $wireDumpLogFile << $wireDumpDev 
     
    151153end 
    152154 
     155require 'yaml' 
    153156def submitTestResult 
    154   load 'soap/XMLSchemaDatatypes.rb' 
    155   $testResultDrv.addResults($testResults) 
     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 
    156165end 
    157166