Hello,
I am trying to implement the wellconsidered package into my application in order to be able to connect to web services.
I am getting a very strange behavior. The OperationEvent.COMPLETE event never fires. Globals.vars.wsURL points to the correct WSDL address, I check this already.
Here is my code:
//connect to the WS
var ws2:WebService = new WebService(Globals.vars.wsURL);
var op:Operation = new Operation(ws2);
op.addEventListener(OperationEvent.COMPLETE, onLoginConnected);
op.addEventListener(OperationEvent.FAILED, onLoginFailed);
var un:String = topBanner_mc.loginHome_mc.userName_txt.text;
var p:String = topBanner_mc.loginHome_mc.password_txt.text;
op.Authenticate(un, p);
The function onLoginConnected never fires for some reason. Also, I do not know if this is related, but when I trace op it shows as “undefined”.
I am using CS3 (AS3) with GAIA.
If anyone has experience with wellconsidered package, I would greatly appreciate any help.
Thank you,
Daniel