[JDEV] Yahoo Transport returning different XML with different Clients(Jabber Beans)
Thomas Muldowney
temas at box5.net
Mon Oct 23 14:15:09 CDT 2000
Yahoo Transport only subscribes the users the first time that you login to it,
after that it understand the subscriptions and only send presence.
--temas
On Mon, Oct 23, 2000 at 06:26:05PM +0000, Amarnath Yara wrote:
> Hi all, I am using jabber beans in developing my client. When I register
> with Yahoo transport using Winjab, after successful registration I get the
> roster( i.e buddies list) from yahoo server and also the presence from Yahoo
> buddies who are Online.
> When I use jabberbeans, after successful registration, I don't get the
> buddies list from yahoo server, but I only get the presence of my yahoo
> buddeis who are online. I am pasting the XML from Winjab and Jabberbeans
> below. When the XML sent is same why is the transport returning different
> XML? I am curious to know why this is happening? Thanks in advance.
>
> Amar.
>
>
> --------------------jabberbeans XML----------------------
> Send requested for YAHOO Registration key
>
> PLDebug: Sent Packet : <iq to="yahoo.phoenix" from="vgrover at phoenix/JIM"
> id="4" type="get"><query xmlns="jabber:iq:register"></query></iq>
>
> PLDebug: RECEIVED PACKET!!! : <iq from="yahoo.phoenix" id="4"
> type="result"><query xmlns="jabber:iq:register"><instructions>Enter your
> YAHOO! Messenger Username and
> Password.</instructions><password/><key>e6ffe8604ca7f00362ddc8a8aebe12035db91152</key><username/></query></iq>
> e6ffe8604ca7f00362ddc8a8aebe12035db91152
>
> PLDebug: Sent Packet : <iq to="yahoo.phoenix" from="vgrover at phoenix/JIM"
> id="5" type="set"><query
> xmlns="jabber:iq:register"><nick>vgrover</nick><password>chinna</password><key>e6ffe8604ca7f00362ddc8a8aebe12035db91152</key><username>madanuk2000</username></query></iq>
>
> PLDebug: RECEIVED PACKET!!! : <iq from="yahoo.phoenix" id="5"
> type="result"></iq>
>
> PLDebug: RECEIVED PACKET!!! : <presence to="vgrover at phoenix"
> from="yahoo.phoenix/registered?username=madanuk2000&pass=chinna"><status>Yahoo!
> Online</status></presence>
>
> PLDebug: RECEIVED PACKET!!! : <presence to="vgrover at phoenix"
> from="amarn_y at yahoo.phoenix"><status>Yahoo! Online</status></presence>
>
> PLDebug: RECEIVED PACKET!!! : <presence to="vgrover at phoenix"
> from="madanuuk at yahoo.phoenix"><status>Yahoo! Online</status></presence>
>
>
> --------------------Winjab XML-------------------
> SENT: <iq id="wjAgent_1_1" to="yahoo.phoenix" type="get"><query
> xmlns="jabber:iq:agents"/></iq>
>
> SENT: <iq type="get" id="wjAgent_1_2" to="yahoo.phoenix"><query
> xmlns="jabber:iq:register"></query></iq>
>
> RECV: <iq type='result' id='wjAgent_1_2' from='yahoo.phoenix'><query
> xmlns='jabber:iq:register'><username/><password/><key>86a61727acc0df5160febc935b61f58b565de363</key><instructions>Enter
> your YAHOO! Messenger Username and Password.</instructions></query></iq>
>
> SENT: <iq type="set" id="wj_setreg_wj_2" to="yahoo.phoenix"><query
> xmlns="jabber:iq:register"><username>amar_yara</username><password>chinna</password><key>86a61727acc0df5160febc935b61f58b565de363</key></query></iq>
>
> RECV: <iq type='result' id='wj_setreg_wj_2' from='yahoo.phoenix'/>
>
> RECV: <presence type='subscribe'
> from='yahoo.phoenix/registered?username=amar_yara&pass=chinna'
> to='dave at phoenix'><status>Setting Subscription</status></presence><presence
> type='subscribe' from='amar_yara1 at yahoo.phoenix'
> to='dave at phoenix'><status>Old Yahoo! roster
> item</status></presence><presence type='subscribe'
> from='amarn_y at yahoo.phoenix' to='dave at phoenix'><status>Old Yahoo! roster
> item</status></presence><presence type='subscribe'
> from='isthete at yahoo.phoenix' to='dave at phoenix'><status>Old Yahoo! roster
> item</status></presence><presence type='subscribe'
> from='madanuk2000 at yahoo.phoenix' to='dave at phoenix'><status>Old Yahoo! roster
> item</status></presence><presence type='subscribe'
> from='stlrams_1 at yahoo.phoenix' to='dave at phoenix'><status>Old Yahoo! roster
> item</status></presence>
>
> RECV: <presence
> from='yahoo.phoenix/registered?username=amar_yara&pass=chinna'
> to='dave at phoenix'><status>Yahoo! Online</status></presence>
>
> RECV: <presence from='madanuk2000 at yahoo.phoenix'
> to='dave at phoenix'><status>Yahoo! Online</status></presence>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20001023/83b60b2b/attachment-0002.pgp>
More information about the JDev
mailing list