Changeset 3048

Show
Ignore:
Timestamp:
11/20/08 19:21:54 (2 months ago)
Author:
kkaempf
Message:

adapt to rbwsman api

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openwsman/trunk/bindings/ruby/tests/cim_operating_system.rb

    r3000 r3048  
    2626    while (context) 
    2727        count += 1 
    28         result = client.pull( uri, context, options
     28        result = client.pull( options, nil, uri, context
    2929        puts "Response ##{count}" 
    3030#       puts "### #{result}" 
    31         result.body.PullResponse.Items.child.each_child { |child| 
     31        result.body["PullResponse"]["Items"].child.each { |child| 
    3232            puts "\t#{child.name} = #{child.text}" 
    3333        } 
    3434        context = result.context 
    3535    end 
    36     client.release( uri, context, options ) if context 
     36    client.release( options, uri, context ) if context 
    3737    puts "Got #{count} responses" 
    3838  end