Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 12:30
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Flash Remoting with AMF (Moderators: Flash-db, Musicman, Jorge Solis, papachan, nothingGrinder)
| | |-+  Browsers besides IE and the new Remoting API
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Browsers besides IE and the new Remoting API  (Read 1770 times)
shaun larkin
Server what's that
*
Posts: 9



View Profile Email
« on: 06/30/04, 11:57 »

Has anyone hit issues with the new Service class hitting a gateway in any other browser but IE. I've created a simple 10 line app to connect to a gateway and call a method that returns a string. This gateway and method was used a thousand times with remoting 1.0. But when I test the call in firefox, netscape on my local machine....no problems, as soon as I put it on a server (tried apache, and IIS) only IE works, this makes no sense. Has anyone hit this issue, or am i going to have to keep digging.


import mx.remoting.*;
import mx.rpc.RelayResponder;
import mx.rpc.FaultEvent;
import mx.rpc.ResultEvent;
import mx.services.Log;
mx.remoting.debug.NetDebug.initialize();

_global.System.onStatus = function() {
   getURL("javascript:alert('gateway connection failed')");
   //trace("gateway connection failed");
}

var serv:Service = new Service("http://200.45.34.76/flashservices/gateway",
                        null, "org.testLocation.www.ServiceBean", null, null);


function getString_Result(myEvent:ResultEvent) {
   getURL("javascript:alert('" + myEvent.result + "')");
}

function getString_Fault(myErr:FaultEvent) {
   getURL("could not get string");
}

var pend:PendingCall = serv.getStringTest();
pend.responder = new RelayResponder(this, "getString_Result", "getString_Fault");


thanks in advance
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
anything