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