List Info

Thread: send IQ example




send IQ example
country flaguser name
United States
2007-02-22 14:32:52
hello,
new to all of this. Can someone poost a simple example of
sending an IQ stanza:
<iq type='get'
    from='romeo127.0.0.1'
    to='juliet127.0.0.1'
    id='info2'>
  <query xmlns='http://jabber.o
rg/protocol/disco#info'/>
</iq>

and get the result.
Thanks

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmpppy-devel mailing list
Xmpppy-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el

Re: send IQ example
user name
2007-02-27 20:16:32
request:
<iq type='get' from='franciscodenmark.lit/barracks'
to='pubsub.shakespeare.lit' id='feature1'>
  <query xmlns='http://jabber.o
rg/protocol/disco#info'/>
</iq>

result:
<iq xmlns='jabber:client' to='nick3tjcn-linux/test'
type='result' id='H_2'>
    <query xmlns='http://jabber.o
rg/protocol/disco#info'>
        <identity category='server' type='im'
name='Wildfire Server'/>
        <feature var='http://jabber.o
rg/protocol/disco#info'/>
        <feature var='http://jabber.org
/protocol/commands'/>
        <feature var='jabber:iq:roster'/>
        <feature var='jabber:iq:register'/>
        <feature var='jabber:iq:time'/>
        <feature var='jabber:iq:private'/>
        <feature var='http://jabber.
org/protocol/disco#items'/>
        <feature var='http://jabber.org/
protocol/address'/>
        <feature var='jabber:iq:privacy'/>
        <feature var='jabber:iq:last'/>
        <feature var='vcard-temp'/>
        <feature var='jabber:iq:version'/>
        <feature var='http://jabber.org/
protocol/offline'/>
    </query>
</iq>


2007/2/23, wrobyncox.net <wrobyncox.net>:
> hello,
> new to all of this. Can someone poost a simple example
of sending an IQ stanza:
> <iq type='get'
>     from='romeo127.0.0.1'
>     to='juliet127.0.0.1'
>     id='info2'>
>   <query xmlns='http://jabber.o
rg/protocol/disco#info'/>
> </iq>
>
> and get the result.
> Thanks
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys-and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Xmpppy-devel mailing list
> Xmpppy-devellists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el
>

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xmpppy-devel mailing list
Xmpppy-devellists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmpppy-dev
el

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )