Page 1 of 1

login service response

Posted: Thu Feb 06, 2014 1:28 am
by Klint
  1. I created a sign up page

    1. I mapped it with a database

    2. I signed up

    3. I created a login page

    4. I mapped it with login service to request username and pw

    5. I mapped local storage to get userID and getSessionToken

    6. I created 'success' and 'error' events to open a page on success and alert if failed.

    7. I tested it, it gives me these
      Image

      Image

      but when I try it on mobile preview test, nothing happens.

      what am I missing?


login service response

Posted: Thu Feb 06, 2014 1:35 am
by Alena Prykhodko

Hello Klint,

Please make sure you use correct password when test the service.


login service response

Posted: Thu Feb 06, 2014 1:43 am
by Klint

Hi, Alena

As you can see, I did one 'successful' test and one 'failed' test on services tab. but neither one of these produce any response what-so-ever in the mobile test page.

I guess the point is.. it really doesn't matter whether I put correct username and password or not.. if I tested and gives me success and error on services tab, why isn't it working in mobile test?


login service response

Posted: Thu Feb 06, 2014 1:45 am
by Klint

oops.. lol

nvm.. while I was doing the testing I have removed 'invoke service' before and I just noticed I have not put this back in.. I just did and it works fine.

yey!!!


login service response

Posted: Thu Feb 06, 2014 1:47 am
by Alena Prykhodko

Glad it's ok :)