I’m working with a custom FF schema, and I’m having an output problem that I’m hoping someone can help me with.
I have a service that takes in an ANSI 4010 X12 850 document, maps it to my custom FF schema, and puts out the result to a file.
When I open the file I see random blank lines added to the file. The rest of the output looks fine, but I’m mystified about where the extra blank lines are coming from.
I can run a test where I take in an instance of the custom FF, parse it, and immediately put it back out again. If I read the input instance into a Java app and ask what the last character is for each line there don’t appear to be any extra CR/LF in there.
Yet when I run the output file through the same Java program it finds zero length or blank lines inserted intermittently through the output.
I thought that I could modify my FF schema by asking for a FormatService to be run for each field. Perhaps if I invoked pub.string:trim for each field I’d be able to eliminate the problem.
But when I opened my FF schema that “Format Service” field appears to be inert. I can’t add a service for love or money.
These will be a problem for apps that consume them. What could I have inserted into my FF schema to cause these to appear? How can I get rid of them? Why can’t I add a formatting service to my FF schema fields? Thanks - MOD
#Integration-Server-and-ESB#edi#webMethods