Seeing the XML if for and XMLRPC server.call

Hi

Is there any way to see the XML generated by an XMLRPC server.call
method?

as in

server = XMLRPC::Client.new2('https://XXX.XXXX.XXX')

result = server.call("API.Send",
{:username=>"",:password=>"",:"remote-ip"=>""},
                  {
                     :var1 => "var1",
                     :var2 => "var2",
                     :template => [{:var3=>"var3"},{:var4=>"var4"}]
                   })

?

Any help appreciated

thanks

Andrew

···

--
Posted via http://www.ruby-forum.com/.