Page 1 of 1

Getting XML from rest service into List problem

Posted: Wed Feb 12, 2014 2:37 pm
by danpickard

I've setup a REST service which gets the XML format and looks something like this:

"

"

I then generate an automatic response in the editor.
I add the datasource using the data tab and join the teams parameter to a list, and the teamName to where it says text.

On opening the page I've set an event that invokes the service but when I open the page on the test feature nothing comes up.

I've tested out the list and event when using the EPSN API service demo which all works fine.

Is it something to do with the XML format? or the fact that the variable names start with @teamName, @teamId...etc

Any help would be appreciated!


Getting XML from rest service into List problem

Posted: Wed Feb 12, 2014 2:43 pm
by Maryna Brodina

Hello! Could you add code using < code tag?


Getting XML from rest service into List problem

Posted: Wed Feb 12, 2014 5:55 pm
by danpickard

code
<readResponse>
<leagues leagueName="La Liga" country="Spain" typeOfSport="Football" />
<leagues leagueName="Premier League" country="England" typeOfSport="Football" />
</readResponse>
/code


Getting XML from rest service into List problem

Posted: Wed Feb 12, 2014 8:15 pm
by Kateryna Grynko

Hi Dan,

We reproduced the issue. Working on it.


Getting XML from rest service into List problem

Posted: Thu Feb 13, 2014 11:26 am
by danpickard

I managed to sort this by using an appery.io proxy. I guess this somehow validated the XML response produced and was able to map the teamNames to the list items :)


Getting XML from rest service into List problem

Posted: Thu Feb 13, 2014 11:32 am
by Maryna Brodina

Hello! Thank you for update!