powered by Jive Software

Send xmpp <message> to component on other domain

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 message to another user on test@.myserver.kicks-ass.net, 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='user@gmail.com/123'
         type='chat'>
<body>
just t4st
</body>
<x xmlns='jabber:x:event'>
<offline/>
<composing/>
</x>
</message>
<message xmlns='jabber:client'
         to='user@gmail.com/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>