[JDEV] Using ICQ Transport From a Program Question

Michael Petras petras at nortelnetworks.com
Wed May 24 08:42:23 CDT 2000


Keith and Schuyler,

Thanks a lot. It worked great when I added the iq get and the presence XML
tags.

                                                            Mike

> -----Original Message-----
> From:	Keith Minkler [SMTP:keith at digix.net]
> Sent:	Tuesday, May 23, 2000 4:56 PM
> To:	jdev at jabber.org
> Subject:	Re: [JDEV] Using ICQ Transport From a Program Question
> 
> 
> Mike,
> you must not be sending your presence/roster out to the server..
> after you connect, and are auth, add these to tags to your outgoing stuff:
> <iq type='get'><query xmlns='jabber:iq:roster'/></iq>
> and
> <presence/>
> 
> this should get you logged into all your transports (gateways) and let you
> send messages to ICQ or AIM
> 
> Mike Petras wrote:
> 
> 
> 	I am trying to write a program that connects to the jabber.com
> server to send messages to Jabber, ICQ and AOL users. I created an account
> (mikewp) using the JabberIM client and added my ICQ account using
> JabberIM. It works great - I can send and receive messages to and from
> Jabber and ICQ clients (haven't tried AIM yet). In my program I connect to
> jabber.com on 5222 and open the XML stream as described in the Client /
> Server documentation. Then I send the iq message to log in to that same
> mikewp account. All of this works great - I get the XML responses
> described in the documentation. But when I try to send a message to
> icq#@icq.jabber.com <mailto:icq#@icq.jabber.com> I get an error message
> saying I'm not authorized to use the ICQ transport. I suspect I'm missing
> a step involving logging in to use the ICQ transport that the JabberIM
> client performs because it knows about my ICQ account. 
> 	 
> 	Any suggestions of things to try? Any pointers to documenation?
> 	 
> 	Any help is much appreciated.
> 	                                                             Thanks,
> 	                                                                Mike
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20000524/68305e9c/attachment-0002.htm>


More information about the JDev mailing list