Hierarchical Data - Issue with mapping in REST Step
Posted: Sun Dec 06, 2015 10:35 pm
Hi,
I am trying to fetch data coming from a RSS Feed -
http://www.theage.com.au/rssheadlines/b ... le/rss.xml
Below are the steps I have followed -
1. Choose hierarchical data stage to perform the operation.
2. Go to properties of hierarchical data stage, and click on Edit Assembly.
3. Add Rest step from the pallett in Assembly Editor.
4.1. In configuration - General, choose GET method as HTTP method.
4.2.. Provide url as http://www.theage.com.au/rssheadlines/b ... le/rss.xml
4.3. HTTP version as 1.1
5. Security - None
6.1. In Configuration - Request - Check load the outgoing body from.
6.2. Choose text node body with content type as application/xml.
6.3. Choose Encoding type as UTF-8
7. Response is same configuration as request
8. In mappings, I add #rss# into the source and then map it with body.
9. Configuration is now complete.
When I go into test data tab, CDIUI2501I Either no Output data is available, or you need to test the assembly before Output data can be displayed. I did curl on the mentioned url and I am receiving data. I think the issue is somewhere with mapping.
Could someone please guide what am I doing wrong? I tried fgoogling this issue as well as finding out the root cause of the problem So far no luck!
Regards,
John
I am trying to fetch data coming from a RSS Feed -
http://www.theage.com.au/rssheadlines/b ... le/rss.xml
Below are the steps I have followed -
1. Choose hierarchical data stage to perform the operation.
2. Go to properties of hierarchical data stage, and click on Edit Assembly.
3. Add Rest step from the pallett in Assembly Editor.
4.1. In configuration - General, choose GET method as HTTP method.
4.2.. Provide url as http://www.theage.com.au/rssheadlines/b ... le/rss.xml
4.3. HTTP version as 1.1
5. Security - None
6.1. In Configuration - Request - Check load the outgoing body from.
6.2. Choose text node body with content type as application/xml.
6.3. Choose Encoding type as UTF-8
7. Response is same configuration as request
8. In mappings, I add #rss# into the source and then map it with body.
9. Configuration is now complete.
When I go into test data tab, CDIUI2501I Either no Output data is available, or you need to test the assembly before Output data can be displayed. I did curl on the mentioned url and I am receiving data. I think the issue is somewhere with mapping.
Could someone please guide what am I doing wrong? I tried fgoogling this issue as well as finding out the root cause of the problem So far no luck!
Regards,
John