Page 1 of 1

why my call to my service always failed ?

Posted: Wed Apr 16, 2014 2:23 am
by kalmen chia

Hi , trying to get the basic xml call work but failed ,

i have make a xml call to my server ,
Image

by testing it , i got the response from my server as follow ...
Image

then i create the response automatically ...
Image

i bind the service param value from my UI ,
Image

and i bind my response value to local variable
Image

then i make a success/error event call when my service is call , and i also bind the call from my button the service ,

Image

the success event of my service ,
Image

and the error event ...
Image

when i click test and click on the button , this will always call my Error Event.
any advice to help me pls?
Image


why my call to my service always failed ?

Posted: Wed Apr 16, 2014 3:13 am
by Alena Prykhodko

Hi Kalmen.

Your service sends request to foreign domain. And it calls cross domain calls.

Read more about this issue here: http://docs.appery.io/documentation/c...

Easy solution to fix it is just using Appery.io proxy.

See details here: http://docs.appery.io/documentation/s...


why my call to my service always failed ?

Posted: Wed Apr 16, 2014 4:47 am
by kalmen chia

thanks , it works.