Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Processing Flat Files | Sending and Receiving Flat Files | Overview
 
Overview
You can use the services in the pub.flatFile.generate folder of the WmFlatFile package to programmatically create, modify, and delete:
*Flat file dictionary entries
*Entire flat file dictionaries
*Flat file schemas
To specify the data for the flat file dictionary entries, entire flat file dictionaries, or flat file schemas, you can:
*Create the information in an XML file and execute a service you create that retrieves the XML data from the XML file, then invokes the appropriate services in the pub.flatFile.generate folder to make the changes in the Integration Server namespace. When creating the XML data, it should conform to the following XML schema:
Integration Server_directory \instances\instance_name\packages\WmFlatFile\pub\FFGeneration.xsd
*Create a service that maps the data to an IS document (IData object), convert the IData object to an XML string, and then invoke the appropriate services in the pub.flatFile.generate folder to make the changes in the Integration Server namespace. The IS document type to which the IData object must conform is provided in the WmFlatFile package:
*For a flat file dictionary entry or dictionary, use the pub.flatFile.generate:FFDictionary IS document type.
*For a flat file schema, use the pub.flatFile.generate:FFSchema IS document type.
The sample.flatFile.generateFFSchema folder, which is in the WmFlatFileSamples package, contains sample services that illustrate how to use the services in the pub.flatFile.generate folder. The sample services are the sample.flatFile.generateFFSchema:delimited service and the sample.flatFile.generateFFSchema:fixedLength service.
For detailed descriptions of the services in the sample.flatFile folder and the services in the pub.flatFile folder listed in the following sections in this chapter, see the webMethods Integration Server Built-In Services Reference.