AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

why appery cant recognize its own rest service?

i got the problem when i call the login service

please help

Image

Image

AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

why appery cant recognize its own rest service?

I also got this error msg
Image

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

why appery cant recognize its own rest service?

Hi AC,

It means you have not merchandiseDB_login_service datasource on that page.

So you need - to add this datasource (with other name) to the goal page and then you can use it.

Also, don't confuse service and datasource.

Regards.

AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

why appery cant recognize its own rest service?

hi yurii, I adpted ur suggestion and made it work. But why it only works once? First time I input username and password, they are stored in lsv. But second when the autologin service executed, it automatically login, but earse the lsv value as well. That mean the third time I still need to manually input...is this a service bug? I though it should keeps the variables until I completely uninstall the app or logout? My code is below, please advice.

AC
Posts: 0
Joined: Wed Oct 08, 2014 8:53 pm

why appery cant recognize its own rest service?

Yurii or others can see any problem here?
Image

Image

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

why appery cant recognize its own rest service?

Hello,

1) May be because you do not check whether the new value is empty value
2) May be because you are not getting the right component
http://gyazo.com/4997c02d0d258e05a27b... - parameter works for us.

You have problem with custom JavaScript. Have you tried to debug your code http://devcenter.appery.io/documentat...?

Return to “Issues”