Page 1 of 1

error testing url of a existing web services

Posted: Tue May 06, 2014 11:47 pm
by Rafael Fontanillas

im having a error when i test an url of a existing web service aspx: Image

what can i do ?


error testing url of a existing web services

Posted: Wed May 07, 2014 1:14 am
by Yurii Orishchuk

Hi Rafael.

Please provide us screen shot about your settings service tab.

Also as i can see your response is not a correct XML.

So you can not to get an object from this response.

Thus you can not to use mapping for this service.

And you should to parse this response manualy and do actions after manualy too.

To do it - you need to implement JS event handler for "complete" event for your service.

Regards.


error testing url of a existing web services

Posted: Wed May 07, 2014 2:01 am
by Rafael Fontanillas

Image

this is my settings, i put a search button that when u write a name its locate the IRS info like your id number and your company name, these new screen shot, show the web service that I'm invoking .
Image

they gives you also a zip file with all the info about mostly of company in a .txt file


error testing url of a existing web services

Posted: Wed May 07, 2014 6:12 am
by Evgene Karachevtsev

Hello Rafael,

Our manual about rest-service: http://docs.appery.io/documentation/r...
Don't pay attention on red cross on the first line of test results. We have tested your url and it executed with message "Test successful". But your request doesn't have any sense - you get in response usual html. But you should get json or xml in server response and after that you can map results, for example to ui components


error testing url of a existing web services

Posted: Thu May 08, 2014 3:43 am
by Rafael Fontanillas

i read it !!! but i cand interpretare the request, its this the info that u are calling to a webservice ? and the response... please help me with your words a little of request and response..


error testing url of a existing web services

Posted: Thu May 08, 2014 12:10 pm
by Evgene Karachevtsev

Hello,

I have server which can provide me with some REST-full services. For example, server has two services.
First of them return list of cities in USA. I send from client request and get from server response. This response can has some formats/ For example in JSON
response can be such
[{"id":"1","name":"Miami", {"id":"2", "name":"Chicago"}]
Second service can return detail information about city. I send from client request - give me information about city with id=1. And service return me this information. For example {"population":"112323", "area":"123"}
Good example of Restfull servicec is work with database in appery.io
http://docs.appery.io/documentation/b...