# How to get the soap stream from a client?

**URL:** <https://www.ruby-forum.com/t/how-to-get-the-soap-stream-from-a-client/80242>\
**Category:** Ruby\
**Created:** [March 13, 2006, 11:36am UTC](https://www.ruby-forum.com/t/how-to-get-the-soap-stream-from-a-client/80242 "2006-03-13T11:36:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matrixise](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/94ad74/32.png) [@matrixise](https://www.ruby-forum.com/u/matrixise)\
**Post date:** [March 13, 2006, 11:36am UTC](https://www.ruby-forum.com/t/how-to-get-the-soap-stream-from-a-client/80242/1 "2006-03-13T11:36:49Z")

</div>

Hi all,

With soap4r, I send a soap request to a server, but I would like to see  
my  
soap message.

Is there a way to get this message ?

require ‘soap/rpc/driver’  
stub = SOAP::RPC::Driver.new(“[http://localhost:8080](http://localhost:8080)”,  
“[http://localhost/Demo](http://localhost/Demo)”)  
stub.add\_message(‘getTime’)

puts stub.getTime

thanks,

Stephane
