Question

I am trying to create an xml reader. I continue to get the errors listed below.

  • 4 October 2018
  • 1 reply
  • 66 views

Badge

I am trying to create a proof of concept. Reading a web service and then writing to a sql server db. I am using the XML format for the reader. Getting the error message below:

 

 

Starting translation...

 

FME 2018.0.1.1 (20180615 - Build 18312 - WIN64)

 

FME Home Edition (node locked-crc)

 

Temporary License: 265 days left.

 

Machine host name is: 8BCCFH2-LT

 

Operating System: Microsoft Windows 10 64-bit (Build 16299)

 

Copyright (c) 1994 - 2018, Safe Software Inc.

 

Safe Software Inc.

 

Potentially retrieving dataset 'https://www.applitrack.com/Littleton/api/AppliTrackAPI_v3.svc/Universities()' for reader

 

Retrieved file C:\\Users\\tgolden\\AppData\\Local\\Temp\\FME_TempFileStore_1538683504282_11704\\Universities() for reader

 

Creating reader for format: XML (Extensible Markup Language)

 

Trying to find a DYNAMIC plugin for reader named `XML'

 

Loaded module 'XML' from file 'C:\\Program Files\\FME\\plugins/XML.dll'

 

FME API version of module 'XML' matches current internal version (3.8 20180209)

 

XML Reader CONTINUE_ON_GEOM_ERROR is set to YES, the reader will continue upon encountering features with geometry error, these features will be output and tagged with a xml_geom_error boolean attribute

 

No value found for the 'XFMAP' or 'XFMAP_FEATURE_PATHS' directives, using the XRS file 'C:\\Program Files\\FME\\xml\\xrs\\xrs.xml' to determine configuration

 

Opening the XML reader with source dataset 'C:/Users/tgolden/AppData/Local/Temp/FME_TempFileStore_1538683504282_11704/Universities()'

 

The uri-map document 'C:\\Program Files\\FME\\xml\\urimap\\gml_aixm.xml' is being used to map from URI to URI

 

The uri-map document 'C:\\Program Files\\FME\\xml\\urimap\\gml_citygml.xml' is being used to map from URI to URI

 

The uri-map document 'C:\\Program Files\\FME\\xml\\urimap\\gml_inspire.xml' is being used to map from URI to URI

 

The uri-map document 'C:\\Program Files\\FME\\xml\\urimap\\gml_sosi.xml' is being used to map from URI to URI

 

The uri-map document 'C:\\Program Files\\FME\\xml\\urimap\\gml_urimap.xml' is being used to map from URI to URI

 

Unable to configure the XML module to read the XML dataset. No <xrs:switch> item in the xrs document 'C:\\Program Files\\FME\\xml\\xrs\\xrs.xml' matched the XML dataset 'C:/Users/tgolden/AppData/Local/Temp/FME_TempFileStore_1538683504282_11704/Universities()'

 

The XML format could not be determined by examination. Try entering a feature path into the "Elements to Match" parameter, specifying an xfMap, selecting an XRS, or using a more specific reader

 

The XML Module halted on error, see the logfile for details

 

Failed to obtain any schemas from reader 'XML' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

 

FME Session Duration: 5.3 seconds. (CPU: 1.7s user, 0.5s system)

 

END - ProcessID: 11704, peak process memory usage: 486212 kB, current process memory usage: 484984 kB

 

Failed to obtain any schemas from reader 'XML' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

 

Program Terminating

 

Translation FAILED.

 

Workspace generation failed. Parameter file was C:\\Users\\tgolden\\AppData\\Local\\Temp\\FME_1538683503932_6940.


1 reply

Userlevel 2
Badge +17

I'm afraid that you haven't set reader parameters appropriately yet. See this tutorial to learn how to read XML with FME: Tutorial: Getting Started with XML

Reply