kalmen chia
Posts: 0
Joined: Tue Dec 25, 2012 2:25 am

why my call to my service always failed ?

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

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

why my call to my service always failed ?

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

kalmen chia
Posts: 0
Joined: Tue Dec 25, 2012 2:25 am

why my call to my service always failed ?

thanks , it works.

Return to “Issues”