WebServices Connector / Error Msg´s

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").

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:


//////////////////
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…