Error Creating An XML Connection

Error Creating An XML Connection

book

Article ID: KB0077988

calendar_today

Updated On:

Products Versions
TIBCO Cloud Integration - Connect ( Scribe ) N/A

Description

Product: TIBCO Scribe® Online 

Error: Connection test failed: The file C:\Users\psamuel\Desktop\GTM\XML\Files\Employee.xml doesn't exist.

kA30e000000fxgqCAA_en_US_1_0

Cause: This error occurs when a  the XML file path is used instead of the XSD which does not have the correct schema.

Issue/Introduction

This error occurs when the XML file path is used instead of the XSD which does not have the correct schema

Resolution

Ensure the XSD file and XML files are in the same folder and the schema has been correctly defined 
  • XSD Full Path and File Name — The complete path and file name of the XML schema definition file (XSD) on the Agent Server to use with the XML file being read or written.  This directory does not need to be the same directory where the XML files are stored.  Example: C:\Program Files (x86)\Scribe Software\Scribe Online Agent\DataExchange\MyXMLFiles\purchasOrder.xsd
  • XML Folder Path — The complete path to the directory on the Agent server where the XML files are stored, such as C:\Program Files (x86)\Scribe Software\Scribe Online Agent\DataExchange\MyXMLFiles
To get the full path of the XSD file, hold the Shift key and Right-click on the file > Click on Copy As Path > Remove the quotation marks. Example below: 

kA30e000000fxgqCAA_en_US_1_1


The image below shows a successful connection with the right parameters: 

kA30e000000fxgqCAA_en_US_1_2

The TIBCO Scribe® Online Connector For XML is used to read data from or write data to an XML file on the local file system, as such the connector only supports On-premise agents.  This Connector uses XML Schema Definition (XSD) files to support simple properties, complex properties, and Collections.

For additional information, see the following in the TIBCO Scribe® Online Help:   TIBCO Scribe® Online Connector For XML