add_rosteritem not working with xml_rpc

HI

I have configure ejabberd server 2.1.10 with mysql database integration,mod_admin_extra module and mod_xmlrpc module.

Issues is ejaberd admin commands like add_rosteritem, delete_rosteritem are notworking with xml_rpc.
When we use direct command line like ,
root@ejabberdserver:~# ejabberdctl add_rosteritem admin domain.com karthik domain.com karthik none both
it will work and store in to database.

but same command does not work with xml_rpc.
xml_rpc does not return any error ,it retun {ok,{response,[0]}}
But it does't store database.

Any permission issue?

Any body please help!!!!!

I may be wrong, but looks

I may be wrong, but looks like you are using an older module which may be not tested against the current 2.1.10.
According to mod_xmlrpc page,
Note: this module will only receive bugfixes. If you are using ejabberd trunk SVN 1635 or newer, you will probably prefer to install ejabberd_xmlrpc.

Any solution to recover this

Any solution to recover this issue pls?

karthik_mahiti wrote: HI but

karthik_mahiti wrote:

HI

but same command does not work with xml_rpc.
xml_rpc does not return any error ,it retun {ok,{response,[0]}}
But it does't store database.

I had the same issue.
Try mod_rest and everything works.

Syndicate content