Page 1 of 1

Client not receiving from room extension

Posted: 28 Oct 2010, 14:32
by mihairaulea
Hello.

I am using actionscript 3 on the client and java on the server side.

My problem is the following : i am creating using my server side extension a room.To this room, i am attaching a server side extension.

The user successfully joins the room.

I am able to send requests from my client, and on the server side i am tracing the receipt of the request.It's all ok, it even calls the sendResponse function, but somehow the client side is not receiving data from the room extension.

In brief :

-> room with dynamic extension
-> user joins room successfully
-> client sending
-> room extension receiving client request
-> room extension sending ( checked recipient list and method invocation )
-> client not receiving at all

What could be possibly going wrong?

Posted: 01 Nov 2010, 06:32
by mihairaulea
no one is going to reply, right?

Posted: 01 Nov 2010, 06:43
by BigFIsh
but somehow the client side is not receiving data from the room extension.
Could you try and confirm the outgoing/incoming data by setting .debug to true for your SmartFoxClient instance and turning on DebugOutGoingMessages via your config.xml file. i.e. <DebugOutGoingMessages>true</DebugOutGoingMessages>

This will narrow down the problem.

Also, which method are you using via server extension that sends the message or update back to the client?

Lastly, does your SFS log files showing anything suspicious?

Posted: 01 Nov 2010, 08:07
by mihairaulea
thank you for your help, setting <DebugOutGoingMessages>true</DebugOutGoingMessages> helped.
I was sending blank messages, and apparently blank messages don't fire SFSEvent.onExtensionResponse