- File Polling Port is configured like this.
Package Name TestPack1
Polling Information
Monitoring Directory \Test\Filelist
Working Directory (optional) unspecified
Completion Directory \Test\completionDir
Error Directory (optional)\Test\Err
File Name Filter (optional) *.TXT
File Age (optional) (seconds) unspecified
Content Type (optional) application/x-wmflatfile
Allow Recursive Polling No
Security
Run services as user Administrator
Message ProcessingProcessing TestPack1:FilePolingTestFlow
File Polling Interval 5
Log only when directory availability changes No
Directories are NFS mounted file system No
Cleanup Service (optional) unspecified
Cleanup At Startup Yes
Cleanup File Age (optional) (days) 7
Cleanup Interval (optional) (hours)24
Maximum number of Invocation Threads 1
2)input of the Flowservice declared as ffdata(i.e Object datatype)
3)Now I have SEQUENCE steps(For Try/Catch)
4)I have MAP step for App Info
5)Now I have ConvertToValues step , here i am mapping ffdata to ffData
…
…
in the convertToValues step it fails with message StreamClosed.
Actually i even tried Using the steps StreamToByes, BytesToString steps
Before CovertingToValues , here Whatever the String i get from BytesToString is having Extra newline between each record, if i map this String to ConvertToValues step It fails because of Record structure is not compliance with the schema.
Note:If I debug the flow by passing string as input istead of ffdata Object, ConvertToValues works fine without any errors.
I hope this gives you Clear Picture.
Thanks
Ram
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services