Rafael Fontanillas
Posts: 0
Joined: Tue May 06, 2014 11:47 pm

error testing url of a existing web services

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

what can i do ?

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

error testing url of a existing web services

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.

Rafael Fontanillas
Posts: 0
Joined: Tue May 06, 2014 11:47 pm

error testing url of a existing web services

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

error testing url of a existing web services

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

Rafael Fontanillas
Posts: 0
Joined: Tue May 06, 2014 11:47 pm

error testing url of a existing web services

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

error testing url of a existing web services

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

Return to “Issues”