Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

FCC parameter reference for MessageTransformBean module

$
0
0

Update 2 Jan 2015: Correction for StructPlain2XML- should be xml.processFieldNames instead of xml.<StructureName>.processFieldNames


This document was moved from the following blog FCC parameter reference for MessageTransformBean module based on suggestion by Aaron Myers to allow for collaborative effort to maintain/update this reference list.

 

1) Conversion type: SimplePlain2XML

 

Parameter NameDefault value if parameter not configuredAllowed parameter valuesAdditional remarks
xml.skipEmptyFilefalse
xml.encodingUTF-8
xml.conversionTypeSimplePlain2XML
xml.structureTitlerow
xml.fieldFixedLengthsEither fieldFixedLengths or fieldSeparator must be populated
xml.fieldFixedLengthTypechar
xml.fieldSeparatorEither fieldFixedLengths or fieldSeparator must be populated
xml.endSeparatornl
xml.beginSeparator
xml.enclosureSign
xml.enclosureSignEndxml.enclosureSign
xml.enclosureSignEscape
xml.enclosureSignEndEscapexml.enclosureSignEscape
xml.enclosureConversionYES
xml.checkForXMLPredefinedEntitiesYES
xml.checkForISOControls
xml.lastFieldsOptionalNODeprecated and should not be used with missingLastFields or additionalLastFields
xml.missingLastFieldsignore
xml.additionalLastFields
xml.keepIncompleteFieldsNO
xml.addBeginSeparatorAsField
xml.addEndSeparatorAsField
xml.fieldContentFormattingtrim
xml.processFieldNames

notAvailable - means that no field name information is available.

 

fromFile - means that the field name information is located in the header line of the file to be converted.

 

fromFileWithBlankLine - corresponds to fromFile. After the header line there also follows a blank line or separator that is skipped.

 

fromConfiguration - means that no header information exits in the file to be converted, but it will be delivered by the present configuration.

 

notAvailable - means that no field name information is assumed to be in the configuration or in the file to be converted. In this case, the columns in the XML document are identified using a simple counter tag (<columnX> , X=0,1,2…).

Required parameter
xml.documentName
xml.documentNamespace
xml.documentNamespaceScoperoot
xml.fieldNamesRequired parameter if xml.processFieldNames = fromConfiguration

 

 

2) Conversion type: StructPlain2XML

<StructureName> is per the structure names defined in xml.recordsetStructure. For each structure name listed, configure the corresponding xml.<StructureName>.* parameters.

 

Parameter NameDefault value if parameter not configuredAllowed parameter valuesAdditional remarks
xml.skipEmptyFilefalse
xml.encodingUTF-8
xml.conversionTypeStructPlain2XML
xml.recordsetStructureRequired parameter
xml.recordsetStructureOrderasc
xml.allowEmptyRecordsetsYES
xml.recordsetNameRecordset
xml.recordsetNamespace
xml.recordsetNamespaceScoperoot
xml.recordsetBeginSeparator
xml.recordsetEndSeparator
xml.documentName
xml.documentNamespace
xml.documentNamespaceScoperoot
xml.recordsetsPerMessage*
xml.documentSkipFirstRows0
xml.keyFieldNameRequired parameter if there is a structure with * in xml.recordsetStructure
xml.keyFieldTypeRequired parameter if there is a structure with * in xml.recordsetStructure
xml.processFieldNamesfromConfiguration

notAvailable - means that no field name information is available.

 

fromFile - means that the field name information is located in the header line of the file to be converted.

 

fromFileWithBlankLine - corresponds to fromFile. After the header line there also follows a blank line or separator that is skipped.

 

fromConfiguration - means that no header information exits in the file to be converted, but it will be delivered by the present configuration.

 

notAvailable - means that no field name information is assumed to be in the configuration or in the file to be converted. In this case, the columns in the XML document are identified using a simple counter tag (<columnX> , X=0,1,2…).

xml.<StructureName>.fieldFixedLengthsEither fieldFixedLengths or fieldSeparator must be populated
xml.<StructureName>.fieldFixedLengthTypechar
xml.<StructureName>.fieldSeparatorEither fieldFixedLengths or fieldSeparator must be populated
xml.<StructureName>.endSeparatornl
xml.<StructureName>.beginSeparator
xml.<StructureName>.enclosureSign
xml.<StructureName>.enclosureSignEnd
xml.<StructureName>.enclosureSignEscape
xml.<StructureName>.enclosureSignEndEscape
xml.<StructureName>.enclosureConversionYES
xml.<StructureName>.checkForXMLPredefinedEntitiesYES
xml.<StructureName>.checkForISOControls
xml.<StructureName>.lastFieldsOptionalNODeprecated and should not be used with missingLastFields or additionalLastFields
xml.<StructureName>.missingLastFieldsignore

 

xml.<StructureName>.additionalLastFields
xml.<StructureName>.keepIncompleteFieldsNO
xml.<StructureName>.addBeginSeparatorAsField
xml.<StructureName>.addEndSeparatorAsField
xml.<StructureName>.fieldContentFormattingtrim
xml.<StructureName>.keyFieldValueRequired parameter if there is a structure with * in xml.recordsetStructure
xml.<StructureName>.keyFieldInStructureadd
xml.<StructureName>.fieldNamesRequired parameter if xml.<StructureName>.processFieldNames = fromConfiguration

 

 

3) Conversion type: SimpleXML2Plain

 

Parameter NameDefault value if parameter not configuredAllowed parameter valuesAdditional remarks
xml.skipEmptyFilefalse
xml.encodingUTF-8
xml.conversionTypeSimpleXML2Plain
xml.fieldFixedLengthsEither fieldFixedLengths or fieldSeparator must be populated
xml.fieldFixedLengthTypechar
xml.fieldSeparatorEither fieldFixedLengths or fieldSeparator must be populated
xml.endSeparatornl
xml.beginSeparator
xml.checkForXMLPredefinedEntitiesYES
xml.checkForISOControls
xml.addHeaderLineRequired parameter
xml.headerLineRequired parameter if xml.addHeaderLine = 3 or 4
xml.absoluteRowWidth0
xml.fixedLengthTooShortHandlingError

 

 

4) Conversion type: StructXML2Plain

<StructureName> is per the structure names defined in xml.recordsetStructure. For each structure name listed, configure the corresponding xml.<StructureName>.* parameters.

 

Parameter NameDefault value if parameter not configuredAllowed parameter valuesAdditional remarks
xml.skipEmptyFilefalse
xml.encodingUTF-8
xml.conversionTypeStructXML2Plain
xml.recordsetStructureRequired parameter
xml.<StructureName>.fieldFixedLengthsEither fieldFixedLengths or fieldSeparator must be populated
xml.<StructureName>.fieldFixedLengthTypechar
xml.<StructureName>.fieldSeparatorEither fieldFixedLengths or fieldSeparator must be populated
xml.<StructureName>.endSeparatornl
xml.<StructureName>.beginSeparator
xml.<StructureName>.checkForXMLPredefinedEntitiesYES
xml.<StructureName>.checkForISOControls
xml.<StructureName>.absoluteRowWidth0
xml.<StructureName>.fixedLengthTooShortHandlingError

 

 

References:

For details about the functionality & values related to each parameter, refer to the corresponding parameter listed in the FCC section of the File/FTP adapter below:-

Converting Text Format in the Sender File/FTP Adapter to XML

 

Converting XML in the Receiver File/FTP Adapter to Text Format

 

Wiki with step by step sample of configuring FCC on JMS adapter

How To...Content conversion module with J2EE JMS adapter - Process Integration - SCN Wiki


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>