Klint
Posts: 0
Joined: Mon Feb 03, 2014 5:08 am

login service response

  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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

login service response

Hello Klint,

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

Klint
Posts: 0
Joined: Mon Feb 03, 2014 5:08 am

login service response

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?

Klint
Posts: 0
Joined: Mon Feb 03, 2014 5:08 am

login service response

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!!!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

login service response

Glad it's ok :)

Return to “Issues”