Hello ejabberd fan boys,
We are trying to send an admin command to return the list of connected users.
Following the doc there
We send:
<body rid='8336031' sid='16e660d0b74616bc76053f899728107d' xmlns='http://jabber.org/protocol/httpbind'>
<iq from='thomas@debian/boshclient' to='debian' type='set' id='get-registred-users-num-1' xml:lang='en'>
<command action='execute' node='http://jabber.org/protocol/admin#get-registered-users-num' xmlns='http://jabber.org/protocol/commands' />
</iq>
</body>
And receive from our server the following:
<body xmlns='http://jabber.org/protocol/httpbind' type='terminate' condition='remote-stream-error'>
<xn0:error xmlns:xn0='http://etherx.jabber.org/streams'>
<xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/>
</xn0:error>
</body>
Unless i am getting blind i can't spot where is the malformed xml ?
Thanks heaps,
Greg
Don't put that Body
Don't put that Body element.
I tried and works:
Client sends:
Client receives from server: