I installed the module called ejabberd_xmlrpc and configured it, checked listening in port 4560 and its working fine, i also was able to execute commands through the shell (xmlrpc calls) but whenever i try to call the xmlrpc calls remotely i receive this in ejabbered log file
=ERROR REPORT==== 2010-10-28 05:28:31 ===
{tcp_serv,139,{xmlrpc_http,handler,timeout}}
and i receive a bad request result similar to this
HTTP/1.1 400 Bad Request Content-Length: 0 Server: Erlang/1.13 Content-Type: text/xml HTTP/1.1 400 Bad Request Content-Length: 0 Server: Erlang/1.13 Content-Type: text/xml
the call am posting is:
<?xml version="1.0"?>
<methodCall>
<methodName>connected_users</methodName>
<params>
<param>
<value>
<struct>
<member><name>host</name>
<value>localhost</value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
Can anyone tell me what am i doing wrong? i tried several types of calls but i always receive the same result.
connected_users takes no
connected_users takes no arguments.
I try with registered_users, which takes one argument: