Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi, I am following the course and I'm right now at the capter 3 "Connecting to External Data Sources with ThingWorx 6.5"; when I have to create a Service to consume an xml web page I have some issue:
I'm following the guide
url: "http://www.ptc.com/feed/press",
Then I'm supposed to go on http://www.ptc.com/feed/press with my browser but it redirects me on the page www.ptc.com/news; I can't see any xml.
Plus, if I go further to the end, according to the video, I should see this message
Unable To Convert From com.sun.org.apache.xerces.internal.dom.DocumentImpl to INFOTABLE
but what I see is:
Wrapped org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 10; DOCTYPE non è consentito se la funzione "http://apache.org/xml/features/disallow-doctype-decl" è impostata su true. Cause: DOCTYPE non è consentito se la funzione "http://apache.org/xml/features/disallow-doctype-decl" è impostata su true.
May you help me to understand where the problem is?
Fabio, the URL posted there does not work anymore. You would have to use different RSS feeds. Here's a thread posted by Scott and here's one more posted by Adam that has alternative links.
Thank you
Those links result in a message of "Access to this place or content is restricted." Can you provide links that work for public users or reproduce the content here?
Sure, the sample rss links listed in that page were:
Yahoo News - Latest News & Headlines
I Know this is very late, but I found a feed that you can use:
https://www.nasa.gov/rss/dyn/breaking_news.rss
In case someone is having the same problem, it helped me complete the training course.