# WebServices Connector / Error Msg´s

**URL:** https://forum.kirupa.com/t/webservices-connector-error-msg-s/177386
**Category:** flash
**Created:** [February 1, 2006, 3:08pm UTC](https://forum.kirupa.com/t/webservices-connector-error-msg-s/177386 "2006-02-01T15:08:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mjorge](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mjorge](https://forum.kirupa.com/u/mjorge)
#### Post date: [February 1, 2006, 3:08pm UTC](https://forum.kirupa.com/t/webservices-connector-error-msg-s/177386/1 "2006-02-01T15:08:24Z")

</div>

Hi,

I´m using the WebService Connector to get some data from a service. I need to have three params to get the Data, but the problem is that two of those params are a username and a password. Whenever the pass and the user name are incorrect it gives me an error that can´t load (" [http://www.myPage.com/services.php](http://www.mypage.com/services.php)").

My question is: How can i control the component (Connector) so that i can create a Text Message informing the user that the password or the username is incorrect?

I was thinking in using the WebServiceConnector method (result) …

So i have put the following code in my WebServiceConnector component:

:h:

```auto

//////////////////
on (result) {
    trace (results);
    if (!results)
    {
        trace ("Connection error or User/Pass incorrect");
    }
}
///////////////////

```

However if the user or the pass is wrong the on(result) method will never be fired…

Can anyone help me out please…
