Hi all, I was wondering if anyone has had this same issue and maybe had a 
solution.
I have a Flash swf file which needs to connect to a Web Service to login and 
access
the site. The Web Service is on another server (which I know is up and 
functioning
by way of other tests) and Flash is trying to connect but is just not 
processing the
request.

During development and when I try the file locally the file gets the request,
processes the XML, and logs the user in. So the problem has something to do 
with the
file being on a server. I have also installed a crossdomain.xml file but this 
is not
alleviating the problem...

The things that I have identified as just boggling me are:
  - Does every remote call now require a security setting to be changed?
  - Is there a way to speed up the way Flash calls to a service or to stop it 
from
hanging?

I am aware that the speed is dependant upon my code, and here is how I am using 
the
Connector:

        var wscListener:Object = new Object();
        trace("Sending message to "+friendEmailAddress+" :: 
"+typeof(friendEmailAddress));
        wscListener.result = function(evt:Object) {
                trace("Send to friend results :: "+evt.target.results);
                this.emailResults = evt.target.results;
        }
        wscListener.status = function(evt:Object) {
                trace("----------------- Friend Status ----------------------");
                trace("Friend fault code :: "+evt.data.faultcode);
        trace("Friend fault string :: "+evt.data.faultstring);
        trace("Friend detail :: "+evt.data.detail);
        }
        var wsConn:WebServiceConnector = new WebServiceConnector();
        wsConn.WSDLURL = "http://webservice.mysite.com/myservice.asmx?wsdl";;
        wsConn.params = [fromEmailAddress, friendEmailAddress];
        wsConn.operation = 'SendEmailToFriend';
        wsConn.addEventListener("result", wscListener);
        wsConn.addEventListener("status", wscListener);
        wsConn.suppressInvalidCalls = false;
        wsConn.multipleSimultaneousAllowed = true;
        wsConn.trigger();

Again, this works locally fine but hangs on the server. Any help or suggestions
would be appreciated.

Thanks,
liam m-

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to