In fact, my server is hosted in test.testdomain.com, pubsub.testdomain.comis not belong to me. I have tried: pubsub.test.testdomain.com, but it is failed. the request and response are:
<iq to='pubsub.test.testdomain.com' type='set' id='...'><pubsub xmlns=' http://jabber.org/protocol/pubsub'><create node='tnode'></pubsub></iq> <iq xmlns='jabber:client' from='pubsub.test.testdomain.com' id='...' type='error' to='use...@test.testdomain.com/...'><error type='cancel' code='404'><remote-server-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error><pubsub xmlns=' http://jabber.org/protocol/pubsub'><create node='tnode'/></pubsub></iq> 2014-02-24 17:03 GMT+08:00 li wang <charlesw123...@gmail.com>: > Thanks greatly, do you mean I should use: pubsub.testdomain.com as the > domain name? does I have to configure my nameserver to direct it? > > > 2014-02-24 16:42 GMT+08:00 Tomasz Sterna <to...@xiaoka.com>: > > Dnia 2014-02-22, sob o godzinie 12:50 +0800, charlesw123...@gmail.com >> pisze: >> > 2014-02-18 13:38:55+0800 [XmlStream,client] RECV: "<?xml >> > version='1.0'?><stream:stream >> > xmlns:stream='http://etherx.jabber.org/streams' >> > xmlns='jabber:component:accept' from='pubsub' >> > id='nzkwecg6kccx6zuhslvehvtli6blyfumffiurz0c'>" >> >> Your idavoll component is configured at "pubsub" domain. >> >> >> > And them I use my client to issue the following request after login: >> > SEND: <iq to='test.testdomain.com' type='set' id='...'><pubsub >> > xmlns='http://jabber.org/protocol/pubsub'><create >> > node='tnode'/></pubsub></iq> >> >> so, you need to send your queries to="pubsub" domain, not >> 'test.testdomain.com' servers domain. >> >> >> -- >> Tomasz Sterna @ http://abadcafe.pl/ @ http://www.xiaoka.com/ >> >> >> >> >