i cant receive the proceed xmpp form gtalk,roster list after connecting gtalk serever

21 views
Skip to first unread message

nage

unread,
Nov 11, 2009, 6:16:23 AM11/11/09
to jaxl
hi,

i am using jaxl 1.0.4. when i running index.php in wamp, i got the
following log only

////////////////////
index.php////////////////////////////////////////////////////////////
<?php
//error_reporting(0);
ini_set('max_execution_time','3600');

/* Include Key file */
include_once("config.ini.php");

/* Include JAXL Class */
include_once("jaxl.class.php");

/* Create an instance of XMPP Class */
$jaxl = new JAXL($key[$env]['host'], // Jabber Server Hostname
$key[$env]['port'], // Jabber Server Port
$key[$env]['user'], // Jabber User
$key[$env]['pass'], // Jabber Password
$key[$env]['domain'], // Jabber Domain
$db[$env]['dbhost'], // MySQL DB Host
$db[$env]['dbname'], // MySQL DB Name
$db[$env]['dbuser'], // MySQL DB User
$db[$env]['dbpass'], // MySQL DB Pass
$logEnable, // Enable Logging
$logDB // Enable MySQL Logging
);

try {
/* Initiate the connection */
$jaxl->connect();

/* Communicate with Jabber Server */
while($jaxl->isConnected) {
$jaxl->getXML();
$jaxl->roster('get');
exit;
}
}
catch(Exception $e) {
die($e->getMessage());
}

?>

/////////////////////////////////////// log page
details//////////////////////////////////////////////

2009-11-11 11:13:30
Initializing class variables

2009-11-11 11:13:30
Trying to connect at talk.google.com:5222

2009-11-11 11:13:30
Connection made successfully at talk.google.com:5222

2009-11-11 11:13:30
Sending XML>>
<?xml version="1.0"?><stream:stream xmlns:stream="http://
etherx.jabber.org/streams" version="1.0" xmlns="jabber:client"
to="gmail.com" xml:lang="en" xmlns:xml="http://www.w3.org/XML/1998/
namespace">

2009-11-11 11:13:31
Received XML<<
<stream:stream from="gmail.com" id="ED545709EF65984E" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client"><stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></
starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-
sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></
stream:features>

2009-11-11 11:13:31
Starting TLS Encryption...

2009-11-11 11:13:31
Sending XML>>
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/

imoracle

unread,
Nov 11, 2009, 7:18:14 AM11/11/09
to jaxl
My understanding from your description is that you are trying to
connect Jaxl with browser interfaces. Right?
Well currently Jaxl implements XMPP protocol which runs at TCP/IP
level. For interfacing with browsers, Jaxl needs to support BOSH which
is still under development.

Lemme know if you meant something else.

Regards,
Abhinav
Reply all
Reply to author
Forward
0 new messages