<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2651.65">
<TITLE>RE: [JDEV] Using ICQ Transport From a Program Question</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Keith and Schuyler,</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Thanks a lot. It worked great when I added the iq get and the presence XML tags.</FONT>
</P>
<P><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> Mike</FONT>
</P>
<UL>
<P><FONT SIZE=1 FACE="Arial">-----Original Message-----</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">From: </FONT></B> <FONT SIZE=1 FACE="Arial">Keith Minkler [SMTP:keith@digix.net]</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Sent: </FONT></B> <FONT SIZE=1 FACE="Arial">Tuesday, May 23, 2000 4:56 PM</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">To: </FONT></B> <FONT SIZE=1 FACE="Arial">jdev@jabber.org</FONT>
<BR><B><FONT SIZE=1 FACE="Arial">Subject: </FONT></B> <FONT SIZE=1 FACE="Arial">Re: [JDEV] Using ICQ Transport From a Program Question</FONT>
</P>
<BR>
<P><FONT FACE="Arial">Mike,<BR>
you must not be sending your presence/roster out to the server..<BR>
after you connect, and are auth, add these to tags to your outgoing stuff:<BR>
<iq type='get'><query xmlns='jabber:iq:roster'/></iq><BR>
and<BR>
<presence/><BR>
<BR>
this should get you logged into all your transports (gateways) and let you send messages to ICQ or AIM<BR>
<BR>
Mike Petras wrote:<BR>
</FONT>
</P>
<UL>
<P><FONT SIZE=2 FACE="Arial">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<U> </U></FONT><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">icq#@icq.jabber.com <<A HREF="mailto:icq#@icq.jabber.com">mailto:icq#@icq.jabber.com</A>></FONT></U><FONT SIZE=2 FACE="Arial"> 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.</FONT> </P>
<P><FONT FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">Any suggestions of things to try? Any pointers to documenation?</FONT>
<BR><FONT FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial">Any help is much appreciated.</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial"> Mike</FONT>
</P>
<BR>
<BR>
</UL></UL>
</BODY>
</HTML>