on 08-01-2005 3:13 PM
Hi
I get an error in my File receiver adapter..
Receiver Adapter v1730 for Party '', Service 'SenderSystem':
Configured at 19:32:43 2005-08-01
Last message processing started 19:33:26 2005-08-01, Error: Message processing failed with java.text.ParseException: Variable 'test' not found in variable substitution table
We are currently on XI Sp12 patch level3.I have enabled the Variable substitution option and have defined a variable "test" used in defining the file name scheme.The reference points to a node value in the payload.
I have checked the config xml for the channel which does contain this value test in the variable table..Am I missing anything???
the config xml is as below:
[code]2005-08-01 19:32:43 : ToFile
Raw configuration data ***
Transport protocol: File, version
Message protocol: File, version 3.0.0527
ftp.user|anonymous
file.varSubstitution|true
file.adapterStatus|active
file.addParameterParams|*** TABLE , 0 ROWS DEFINED ***
file.execute|
file.targetFileName|%test%.xml
ftp.overwrite|false
file.counterMode|immediately
file.encoding|
file.overwrite|true
ftp.transferMode|bin
ftp.anonymous|false
ftp.port|21
file.advanced|false
file.varSubstitutionDisableSecurity|true
ftp.targetDir|null
ftp.host|null
file.counterSeparator|
file.counterFormat|00000
file.varSubstitutionParams|*** TABLE , 1 ROWS DEFINED ***
file.varSubstitutionParams|file.varSubstitutionParams$0$file.varSubstitutionParamName$test
file.varSubstitutionParams|file.varSubstitutionParams$0$file.varSubstitutionParamValue$payload:input,1,filenode,1,filename,1
file.type|bin
file.targetDir|//10.201.103.253/download
ftp.password|***
ftp.putSafe|YES
file.writeMode|addTimeStamp
ftp.writeMode|addTimeStamp
file.recordsetStructure|null
file.conversionParameters|*** TABLE , 0 ROWS DEFINED ***
ftp.connection|permanently
file.counterStep|1
Used configuration data ***
'MessageProtocol': 'File'
'TransportProtocol': 'File'
'file.adapterStatus': 'active'
'file.advanced': 'false'
'file.encoding': ''
'file.execute': ''
'file.overwrite': 'true'
'file.targetDir': '//10.201.103.253/download'
'file.targetFileName': '%test%.xml'
'file.type': 'bin'
'file.varSubstitution': 'true'
'file.varSubstitutionDisableSecurity': 'true'
'file.waitForExecute': '0'
'file.writeMode': 'addTimeStamp'
OK - initialized
[/code]
Sri,
You have specified payload:input,1..... in ur variable substitution configuration. Is "input" the name of ur Message Type object in repository. If not, specify the name of the Message Type referred to in ur inbound interface.
We tried this option and generated an additional field in the XML data given as input to the file receiver adapter, to be used for substitution purpose only. We avoided specifying this field in our content conversion , however it still gets written to the file!! if u able to crack it let us know
-Saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.