on 03-02-2016 2:45 AM
Dear All,
I have used SimplePlain2XML for converting txt file to XML in sender SFTP . File is picked and only name space details are available, but give input payloads not available in the message.
Input txt file format:
Sender Data Type:
Message Transformation Bean:
in sxi_monitor:
Please help me to solve this issue.
Thank You.
Regards,
Vinoth
Hi Vinoth,
For your data type structure, try with the ConversionType = "StructPlain2XML", because it has two substructures,
<MT_Symphonymessage>
<Symphonydatalist>
<Symphonydata>
If you want to use "SimplePlain2XML" then you need to modify your data type to
<Symphonymessage>
<Symphonydata>
In case the record <Symphonydatalist> is mandatory, Please try with the below FCC parameters,
xml.Symphonydata.endSeparator 'nl'
xml.Symphonydata.fieldNames SendingSystemID,InterfaceID,...
xml.Symphonydata.fieldSeparator |
xml.Symphonydata.keyFieldInStructure add
xml.Symphonydata.keyFieldValue <key field value>
xml.conversionType StructPlain2XML
xml.documentName <MessageType>
xml.documentNamespace
xml.ignoreRecordSet true
xml.keyFieldName <Key Field Name>
xml.keyFieldType CaseSensitiveString
xml.processFieldNames fromConfiguration
xml.recordsetName Symphonydatalist
xml.recordsetStructure Symphonydata,*
For the conversionType "StructPlain2XML" - Key field is mandatory
Regards,
Tinu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Vinoth,
Please use single quotes
New line : - 'nl'
Pipe :- '|' OR '0x7C'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
Configure the channel as per this blog How To...Content conversion module with J2EE JMS adapter - Process Integration - SCN Wiki
SimplePlain2XML have the parameter xml.structureTitle not xml.recordsetName
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.