Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

Hey,

I'm trying to pull info from an xml file on the web. I set all labels, mapped everything. Invoke service on click but when I test it nothing happens. I mean, it doesnt' show me any errors, like the search button I've created isn't working.

This is the XML: http://www.careerjet.com/search/rss.html

Method: Get
Data type: xml
Tiggzi Proxy: checked
Echo enbaled

Test successful

I've set a request parameter. mapped to text field on page.

Any ideas?

I tried to look around for answers before I posted this but couldn't find.

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

Problem with REST Service & XML

With Echo enabled, the service won't be invoked but the data set in Echo will be used. Do you have anything set there?

http://docs.tiggzi.com/documentation/...

Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

hey max,

thanks for your help.
I'm not sure what you mean set there?

I unchecked Enabled Echo and still it isn't working.

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

Problem with REST Service & XML

What do you have for service Response? How did you create the response?

Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

Hey Max,

Again, thank you so much for your help.
I used the button "Automatically create service response" .

Took few screenshots to show you.
Image Image Image Image

Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

here's another screen shot if it helps Image

Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

Hi again max,

I used this step by step tutorial to see if it's working
http://docs.tiggzi.com/tutorials/buil...

and it's not. I think maybe because I use free account?

I guess I'll just buy a subscription then try to run it again.

**EDIT: I just paid for the $40 Plan, still not working.

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

Problem with REST Service & XML

It seems to work (I didn't use the input parameter):

Image

Mapping:
Image

In your response mapping, what kind of a component is 'item'?

Yarden Gur
Posts: 0
Joined: Sat Feb 02, 2013 3:26 pm

Problem with REST Service & XML

Yes it's working!!! thanks much for your help and patience.

I used panel as my item component, and here's my next question :)
How do I set the height of the panel to be adjustable? because sometimes description is too long and it shows scrollbar (which I don't want to be shown).

Also, how can I split results into pages?

Thanks again!

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

Problem with REST Service & XML

The height could be set via CSS.

Splitting results - you would need to send a request that will only return x-number of items and then implement next/prev buttons. Similar to this: http://docs.tiggzi.com/tutorials/buil...

Return to “Issues”