# How do we create ann Interface using Webrick

**URL:** <https://www.ruby-forum.com/t/how-do-we-create-ann-interface-using-webrick/127554>\
**Category:** Ruby\
**Created:** [January 30, 2008, 11:16am UTC](https://www.ruby-forum.com/t/how-do-we-create-ann-interface-using-webrick/127554 "2008-01-30T11:16:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasadm29](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/cc9497/32.png) [@prasadm29](https://www.ruby-forum.com/u/prasadm29)\
**Post date:** [January 30, 2008, 11:16am UTC](https://www.ruby-forum.com/t/how-do-we-create-ann-interface-using-webrick/127554/1 "2008-01-30T11:16:29Z")

</div>

I have created the following interface but while connecting the client  
throws  
=\> ““Method ExecuteTest missing or wrong number of parameters!”” error

INTERFACE = XMLRPC::interface(“srv”) {  
meth ‘string ExecuteTest(string, string)’, ‘Execute tests’,  
‘execute’  
}

have created a handler too as follows:

rpcserver.add\_handler(SimpleXMLRPC::INTERFACE,SimpleXMLRPC.new)

Am I missing something ???
