I am running into an issue when trying to consume an EDI message received through TN.
If I have TN route the document based on the specific document type, in my case “X12 4010 850”, then the wm.b2b.edi:envelopeProcess service throws the following error:
[ISU.0000.9999I] EDIutil: Input ‘edidata’ must not null [EDICOR.000010.000620]
However, I am able to call wm.b2b.edi:convertToValues with no issues and get the ST segment back just fine.
If I set the document type to the generic “X12 Envelope”, then wm.b2b.edi:envelopeProcess does not throw an error.
Which is the proper way to do this? I would like to route my EDI documents based on message type at the TN level and not within the service that gets called?
Thanks in advance,