Problem while creating a service to consume an xml web page
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
- Type ACMEV in the spotlight search field.
- Select AcmeVendingCorp.
- Click the Services link.
- Click the Add My Service button.
- Type GetThingWorxFeed in the Name field.
- Type This service will retrieve the ThingWorx RSS Feed in the Description field.
- Select the Inputs/Outputs tab.
- Type Resulting Table in the Description field.
- Click the Base Type drop-down list to expand it.
- Select INFOTABLE.
- Select the Snippets tab.
- Click under the left-most scroll bar to scroll down to ContentLoaderFunctions.
- Select ContentLoaderFunctions.
- Click the Add button for the GetXML snippet.
- Edit the URL parameter line to
url: "http://www.ptc.com/feed/press", - Click the Done button.
- Click the Save button.
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?

