How to generate a write schema in a positional text mode for TIBCO (R) Adapter for files (FA) subscriber.
book
Article ID: KB0093264
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Files for Unix and Windows
-
Not Applicable
-
Description
Description: If TIBCO Adapter for files is the publisher for the
subscription service then a Write Schema needs to be defined for the FA
subscriber.
Resolution
If File Adapter is the publisher for the subscription service then a Write Schema needs to be defined for the subscriber.
1). Create a File Adapter Publication service in the same project (FileAdapterConfiguration1). 2). Click on FileAdapterConfiguration1/File Schemas.Then click on the Palettes Tab in the left pane. 3). Drag Read Schema from the Palettes Tab. 4). Click on FileAdapterConfiguration1/File Schemas/Read Schema. 5). Drag a Delimited File record or Positional File record icon and drop it under above-mentioned (step 4) path. 6). Define the required fields within the Delimited File record or Positional File record and then Save the project. 7). This will cause "native" and "wire" directories to be created. The wire schema would be used to create the Write Schema for the subscription service. 8). Go back to subscription service, click on FileAdapterConfiguration/File Schemas, then click on the Palettes Tab in the left pane. 9). Drag Write Schema from the Palettes Tab and drop it into FileAdapterConfiguration/File Schemas. 10). Click on the Write Schema and in the "Configuration" pane below browse, select the wire schema in the "Build From Schema" field. 11). Click on the Schema tab of the subscription service and associate it with the Write Schema.
If you are not using File Adapter as the publishing end then a wire or canonical schema needs to be imported into the project (assuming that the publisher e.g., TIBCO ActiveMatrix BusinessWorks or TIBCO IntegrationManager project is in a different repository).
Issue/Introduction
How to generate a write schema in a positional text mode for TIBCO (R) Adapter for files (FA) subscriber.