# Wellconsidered Web Services component

**URL:** <https://forum.kirupa.com/t/wellconsidered-web-services-component/307414>\
**Category:** flash\
**Created:** [April 2, 2010, 9:14pm UTC](https://forum.kirupa.com/t/wellconsidered-web-services-component/307414 "2010-04-02T21:14:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpdragnev](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@dpdragnev](https://forum.kirupa.com/u/dpdragnev)\
**Post date:** [April 2, 2010, 9:14pm UTC](https://forum.kirupa.com/t/wellconsidered-web-services-component/307414/1 "2010-04-02T21:14:53Z")

</div>

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:

```auto
//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
