# XMLRPC problem. Can anyone help?

**URL:** <https://www.ruby-forum.com/t/xmlrpc-problem-can-anyone-help/102488>\
**Category:** Ruby\
**Created:** [January 16, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/xmlrpc-problem-can-anyone-help/102488 "2006-01-16T20:02:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jawaad\_Mahmood](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/858c86/32.png) [@Jawaad\_Mahmood](https://www.ruby-forum.com/u/Jawaad_Mahmood)\
**Post date:** [January 16, 2006, 8:02pm UTC](https://www.ruby-forum.com/t/xmlrpc-problem-can-anyone-help/102488/1 "2006-01-16T20:02:25Z")

</div>

Hi everyone,

I was working on a small program to contact a third party website and  
retrieve some classified advertisements. Information must be  
transmitted to the website in the form of a struct, and returned as a  
struct as well. I have managed to define the structs in question, but I  
have run into some really annoying bugs when trying to transmit  
information to the website. Whenever I try, I get this message.

* * *

RuntimeError in Ads#test

## Wrong content-type:

I have looked at my webrick server and don’t see any evidence that the  
website in question was contacted. The line the program is crashing on  
is this:

server.call(“search”, @testserverdata)

I have checked and @testserverdata is properly formed - the issue is in  
the call, or the kind of data it is transmitting / expecting to  
transmit. Does anyone have any idea how I can resolve this? I tried  
googling but really found nothing. (You can see the whole sordid ordeal  
on my blog here: [http://www.ordisante.com/?p=147](http://www.ordisante.com/?p=147))

Anyone have any ideas?

- Jawaad Mahmood
