summaryrefslogtreecommitdiff
path: root/sample/soap/helloworld/hw_c_gzip.rb
blob: 3335b5f57122051b033eb237a28febc9f14f50d4 (plain)
1
2
3
4
5
6
7
8
require 'soap/rpc/driver'

s = SOAP::RPC::Driver.new('http://localhost:2000/', 'urn:hws')
s.add_method("hello_world", "from")
#s.wiredump_dev = STDOUT        # care about binary output.
s.streamhandler.accept_encoding_gzip = true

p s.hello_world(self.to_s)