While trying to convert an edi string to IS document using the wm.b2b.edi:convertToValues, it returns a document delimiters as a part of the IS document that is the output. The EDI string has newline “\n” as the record delimiter however the convertToValues service returns record delimiter as “\n”. However, if run the schema wm.b2b.edi.EDIFFSchema:ICS4X12 using the same edu string , it returns the record delimiter as the new line character itself. I don’t seem to understand the inconsistent behavior and was wondering if there are any settings that are missing.
This happens only when new line is the record delimiter. If anyone has faced a similar situation, really would appreciate your time and help.