Page 1 of 1
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 5:11 pm
by leonardo
Not sure what is happening here. I have 2 xmls that I'm using in a project.
1) One of the xmls displays well in all the browsers, Dreamweaver, and XML Editor. But when I used it in a REST service I got an error: codeIncorrect format. Please verify sample response data and try again./code. What could be happening.
2). I want to show the titles of the day node on my xml in a list, but it is not showing.
What am I doing wrong? I've shared the project: Daystest
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 6:57 pm
by maxkatz
Are you able to share the XML service URL?
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 7:04 pm
by Maryna Brodina
Also please check first did you set Data Type to xml.
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 7:38 pm
by leonardo
Aha! That's the culprit. Thanks!
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 7:41 pm
by leonardo
For 2, could you please check why the data is not loading for Listitems.
Rest Service error and Listitems not displaying
Posted: Thu Apr 18, 2013 9:12 pm
by Maryna Brodina
1) You do not call the service, invoke it on screen Load for example
2) also there are problems in daysREST service, create response structure again using "Automatically Create from Sample Response" button (note, after that you mapping will be deleted)
3) map day to daytitleitem and dt to Text daytit
Rest Service error and Listitems not displaying
Posted: Fri Apr 19, 2013 4:37 pm
by leonardo