[ejabberd] example of xml message for xml-rpc module

mark peleus mark.peleus at gmail.com
Tue May 13 08:28:00 MSD 2008


Hi,

Can someone please explain how should look the xml message that are used
with mod xmlrpc?
 For example, how will the xml look when trying to register a new user
Is it something like this:


*<?xml* version="1.0"*?>**<methodCall>*
  *<methodName>*create_account*</methodName>*
  *<struct>*
        *<member>*
          *<name>*user*</name>*
          *<value><string>the_user_name</string>**</value>*
          *<name>host**</name>*
          *<value><string>the_host_name</string></value>*
*<name>password**</name>*
          *<value><string>the_user_password</string>**</value>**</struct**>**</methodCall>*

If I'm compiling xmlrpc-1.13-ipr2 manually and put the beam files in the
main beam folder do I still need the line:

$ erl -pa '/home/jabber/xmlrpc-1.13/ebin' ...

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jabber.ru/pipermail/ejabberd/attachments/20080513/06a446a8/attachment.htm 


More information about the ejabberd mailing list