ios - XEP 0055 (Jabber search) with iphone SDK -
i creating xmpp sample on ios. trying search user on xmpp. checked opernfire server , has search plugin enabled. gone through xep:0055 , found stanza. gone through this question did
i done xmpp connection , login. here details regarding server:
host name = 10.x.x.x; server name = abcd;
the request format got xep 0055 link is:
<iq type='set' from='romeo@montague.net/home' to='characters.shakespeare.lit' id='search2' xml:lang='en'> <query xmlns='jabber:iq:search'> <last>capulet</last> </query> </iq> i don't know characters.shakespeare.lit is. assume server name. created following request:
<iq to="abcd" id="search2" xml:lang="en"> <query xmlns="jabber:iq:search"> <username>kapil</username> </query> </iq> but not getting response. tried replace to value following search.abcd , 10.x.x.x not receiving response iq rquest.
any plz.
shakespeare.lit xmpp host name. 'characters' search service name.
Comments
Post a Comment