Reamon,
Here’re some code details from our programmer. Please check it out and let us know what you think.
Thanks,
Tom
[FONT=Helv][SIZE=2][FONT=Helv][SIZE=2]Here is a quick look into the actual translation service:
EDI (TransactionSet = 203) [/size][/font]
[FONT=Helv][SIZE=2]ST
BGN
DTP
LX (one per ST)
DTP
AMT
RLT (Multiple per ST based on the file size)
AMT (min. 4 per RLT)
DTP (min. 4 per RLT)
INT (one per RLT)
SE
[U]The above is translated to Flat File with following format:
[/u]Header Record - (Gets information from ST, BGN, DTP and LX segments)
Loan Record - (Gets information from RLT and its sub segments)
The flow service doing this translation has following steps:
Repeat
wm.b2b.edi:convertToValues - (has iterator = true)
Branch - “isValid”
Branch - “EDIValues/ST” (Translates ST, BGN, DTP segments to
create header fields)
Branch - “EDIValues/LX” (Translates LX, AMT, DTP segments to create
more header fields)
Branch - “EDIValues/RLT” (Translates RLT, AMT, DTP and INT segments
to create loan record fields)
Branch - “EDIValues/SE” (Not significat from translation stand point)
Branch - “ediObject” (Exits loop once ediObject is null)[/size][/font]
We are concerned that since this is a flow service this loop when iterating over RLT segments which are close to 250 thousand in our large files is taking up too much CPU and time. By converting this loop into Java service we can drop the processor usage and processing time. Hope this provides more information into the situation.[/SIZE][/FONT]
#webMethods#edi#Integration-Server-and-ESB