leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Rest Service error and Listitems not displaying

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Rest Service error and Listitems not displaying

Are you able to share the XML service URL?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rest Service error and Listitems not displaying

Also please check first did you set Data Type to xml.

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Rest Service error and Listitems not displaying

Aha! That's the culprit. Thanks!

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Rest Service error and Listitems not displaying

For 2, could you please check why the data is not loading for Listitems.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rest Service error and Listitems not displaying

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

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Rest Service error and Listitems not displaying

Beautiful. Thanks!

Return to “Issues”