send xmpp <message> to component on other domain

Posted by cometta on Stack Overflow See other posts from Stack Overflow or by cometta
Published on 2010-04-18T03:43:58Z Indexed on 2010/04/18 3:53 UTC
Read the original article Hit count: 535

Filed under:
|
|

step 1:on the same domain(.myserver.kicks-ass.net), i able to send to the mycomponent,succesfully.

step 2:when i login to other domain ,example gmail.com and try send to another user on [email protected], success as well.

step 3:just like step2, but i send the to mycomponent.myserver.kicks-ass.net , i get below error

<message xmlns='jabber:client'
         to='mycomponent.myserver.kicks-ass.net'
         from='[email protected]/123'
         type='chat'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
</message>
<message xmlns='jabber:client'
         to='[email protected]/123'
         from='mycomponent.myserver.kicks-ass.net'
         type='error'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
<error code='404'
       type='cancel'>
<remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</message>

© Stack Overflow or respective owner

Related posts about xmpp

Related posts about jabber