• dcowing
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I've developed an S-Control in Flex and it works just fine in my developer edition account.  However, when I use it in my professional edition account, the call to apex.login does not return (either to the callback or the fault handler) and I have no fault or debug information.  I've seen mixed messages as to whether this should work with the professional edition.

I call the login on creationComplete and the login code looks like this:


Code:
                private function login(event:Event):void {
                   
                    Alert.show("in login");
                   
                    var lr:LoginRequest = new LoginRequest();
                    lr.server_url = parameters.server_url;
                    lr.session_id = parameters.session_id;
                    Alert.show(" server_url: "+parameters.server_url + "  ::  session: "+parameters.session_id);
                   
                    lr.callback = new AsyncResponder(loadData, handleFault);
                    apex.login(lr);
                   
                    Alert.show("done login");
                }

 
Any thoughts on what's wrong with this code?  Should this work? Shouldn't I at least get a fault?

thanks,
Dave





Message Edited by dcowing on 08-02-2008 09:49 AM