Groups | Blog | Home
all groups > macromedia flash flash remoting > june 2004 >

macromedia flash flash remoting : Multiple Service Calls


sitestrux
6/21/2004 7:23:45 PM
Are there any rules for multiple concurrent Service calls? I'm building an app
where different objects are independently calling remoting services to populate
data. (I'm using AFMPHP and Remoting MX 2004/ AS 2.0):

If more than one service is called from the same frame, the following error
occurs:
.....code: 256
.....description: "no class named Navigation is known to the gateway"
.....details: "c:\apache\apache\htdocs\flashservices\app\Executive.php"
.....level: "User Error"
.....line: 217

But the class Navigation is there, and If I spread out the service calls over
multiple frames I don't get that error. However, the behaviour seems sporadic.


For example, if I have two service calls in two consecutive frames, sometimes
both calls will work fine, but sometimes one of the services won't return
anything. It won't throw an error and nothing gets returned to my Fault
responder...it just seems to get caught in cyberspace or overwritten by the
other service call.

Any ideas?
inawire
6/26/2004 5:25:09 AM
I am having the same issue. Just translated the Trio MX 2004 sample file. This
sample uses two services call one right after the other. Individualy they both
work fine.

Let me know if you get a solution.

Ross
inawire
6/26/2004 6:18:29 AM
I founf the problem. It was in AMFPHP. I pulled down the RELEASE_0_9_0b of
app/Executive.php file from the CVS and multiple calls to classes worked. Looks
like this was fixed a while back. I need to make sure I have all the 9_0b files
installed.

Note about a bug in Executive.php

Revision 1.21 - (download), view (text) (markup) (annotate) - [select for
diffs]
Tue Jul 8 21:36:37 2003 UTC (11 months, 2 weeks ago) by justinwatkins
Changes since 1.20: +10 -9 lines
Diff to previous 1.20
Fixed multiple class loader bug. Renamed postres driver to pgsqlRecordSet

Hope this helps

Ross

AddThis Social Bookmark Button