Hi all,

I'm writing a simple chat-gadget to showcase webSocket capability within
UES gadgets.
I have used the same server from[1] and wrote a gadget[2] with simple
client functionalities using pure JavaScript.After that I have created a
dashboard with the published chat-gadget.

Every-time you type and send something from the gadget client, server
responds with some dummy text+original msg send from the client.

dashboard URL : https://localhost:9443/mychat/
Socket URL : ws://localhost:9763/ws-chat/server.jag

Everything works fine on google chrome, but when I try-out this on firefox
i'm getting the $subject.
This is due to the same origin policy restriction.

Any suggestions to overcome this?

[1] http://jaggeryjs.org/apidocs/websocket.jag
[2]
https://drive.google.com/a/wso2.com/file/d/0B-pueGJjeX2KZnZkbkJKTTloSWM/edit?usp=sharing

Regards,
UdaraR
-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog    : http://udarakr.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to