ejabberd - Comments for "problems with mod_xmlrpc" https://www.ejabberd.im/node/995 en problem solved https://www.ejabberd.im/node/995#comment-2135 <p>i've tested the xmlrpc-query-examples from the docs and they've worked. the problem was a malformed xml-query. </p> <p>notice: i had to replace the brackets for pasting. it's &lt;&gt;, not [] !<br /> my first query caused the error:<br /> [?xml version="1.0"?]<br /> [methodCall]<br /> [methodName]echothis[/methodName]<br /> [params]test[/params]<br /> [/methodCall]</p> <p>my new query works fine:<br /> [?xml version="1.0" encoding="UTF-8"?]<br /> [methodCall]<br /> [methodName]echothis[/methodName]<br /> [params]<br /> [param]<br /> [value][string]test[/string][/value]<br /> [/param]<br /> [/params]<br /> [/methodCall]</p> <p>thanks for your help, badlop.</p> <p>flip</p> Sun, 13 Aug 2006 21:02:46 +0000 flipkick comment 2135 at https://www.ejabberd.im The error is on decoding parameters https://www.ejabberd.im/node/995#comment-2120 <p>The error says that: {badarg,[{xmlrpc_decode,decode_params,1},<br /> That means that when the function xmlrpc_decode:decode_params/1 was called, a 'badarg' type of error was found in it. It seems there was a problem decoding the parameters.</p> <p>Regarding handler, it seems the comment is wrong, probably outdated, but that isn't the issue at all.</p> <p>What version of Erlang? Did you follow strictly the installation instructions provided with mod_xmlrpc? Did the examples work?</p> Fri, 11 Aug 2006 09:05:20 +0000 mfoss comment 2120 at https://www.ejabberd.im