Welcome Guest Search | Active Topics | Members | Log In | Register

WebOrb AMF3 Encoding / Method Firing Issue Options · View
rodske
Posted: Wednesday, February 29, 2012 1:31:29 AM
Rank: Newbie Coder
Groups: Member

Joined: 2/22/2012
Posts: 3
Points: 9
Location: Auckland
I have a class that derives from Weborb.Messaging.Server.Adapter.ApplicationAdapter and uses the [ApplicationInstance] attribute (so it’s hosted as a singleton).

Our flash is able to connect over HTTP and invoke all methods successfully. If I attach the debugger to w3wp I can see breakpoints being hit on appConnect and on the methods being called: everything works perfectly.

When the flash is switched-over to using RTMP, I can also see the appConnect method being called (and Flash receives a Connect.Success NetStatus event), and appDisconnect when the connection is terminated. Where things start to break down is when I try and invoke a method on the handler. Using wireshark I have been able to observe RTMP/TCP packets that appear to constitute the request arriving at my machine. However, the method is never called. Flash certainly behaves as though the method was called correctly, although the Responder object passed with the method call never receives a callback. This causes Flash to “hang” as it waits for the call to complete (which of course it never will). At no time does Flash receive a Failed or Faulted event reporting failure.

This behaviour is observed more frequently when we use AMF0 than AMF3, although it occurs with both.

My question is: what am I doing wrong, and how do I diagnose and resolve these issues?
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.076 seconds.