Hi, 
    
    I am running the example in gwt shell. Let me know what is the problem 
with the code.
    Is there any additional configuration needed to run the example.

regards,
Sumit
----- Original Message ----- 
From: <[email protected]>
To: <[email protected]>
Sent: Wednesday, April 01, 2009 8:12 PM
Subject: Not able to connect to Jabber XCP server


> Hi,
> 
> I am using emite code to connect to Jabber XCP server using Basic 
example. 
> But i am not able to get the connection. Always the session.getState() 
> says "connecting"
> 
> Below is the code snipplet
> 
> public void onModuleLoad() {
> 
> BoshConnection connection = (BoshConnection)Suco.get(Connection.class);
> BoshSettings boshSetting = new 
> BoshSettings("httpbinding","www.xcpserver.com");
> 
> connection.setSettings(boshSetting);
> 
> /*
> * We get the Session object. The most important object of Emite Core
> * module.
> */
> final Session session = Suco.get(Session.class);
> GWT.log("session ="+session,null);
> 
> GWT.log("creating login", null);
> session.login(uri("[email protected]"), "test1");
> 
> GWT.log("loggedin ="+session.isLoggedIn(),null);
> 
> 
> GWT.log("session state after login="+session.getState(), null);
> }
> 
> 
> Let me know how what is the problem with the code.
> 
> regards,
> Sumit
> 
> 
> 
> 
>

Reply via email to