# Seeing the XML if for and XMLRPC server.call

**URL:** <https://www.ruby-forum.com/t/seeing-the-xml-if-for-and-xmlrpc-server-call/65802>\
**Category:** Ruby\
**Created:** [August 21, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/seeing-the-xml-if-for-and-xmlrpc-server-call/65802 "2006-08-21T16:03:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewkendall](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b77776/32.png) [@andrewkendall](https://www.ruby-forum.com/u/andrewkendall)\
**Post date:** [August 21, 2006, 4:03pm UTC](https://www.ruby-forum.com/t/seeing-the-xml-if-for-and-xmlrpc-server-call/65802/1 "2006-08-21T16:03:10Z")

</div>

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](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
