sockjs/sockjs-client — Issue #48: trying to access a ws:// web socket server 
Author: fairport
Created: 2012-02-28 11:36:38+00:00
State: open

Hi Majek & Co.

We've been hunting for a silver bullet. We have been developing an HTML 5 (Sencha Touch) application for 8 months. Use Web Socket to move JSON data to/from a SQL Server DB to the SQLite DB on devices. We have developed a server side listener based around the Alchemy websocket system. Which has served us well during the development phase and works well with our 'app' on iPhone/Pad .. having been wrapped by Phonegap etc.

We have been keeping a watch on possible solutions for Androids and have looked at a few. Over the past 24 hours we've made an attempt to get SockJS to work. It seems to us that it won't connect to our web socket server ... which has a ws:// address.
Are we wasting our time here? Does your client only talk to http:// addressed servers?

I am really new at Java and actually never got the testsuite working due to
a) the compiler complaining about 2 AndroidManifest.xml files - which I thought I'd solved by de-jarring the 'latest' jar file, the re-jarring it without the AndroidManifest.xml file ... but having done that
b) I could not get through compiler issues - telling me that it could not find those classes in the autobahn-latest.jar file ???

..anyhow, that is all irrelevant if SockJS can't talk to out WS server

Would be interested to hear from you

Regards
Roger