I’m migrating some EDI services developed in 4.6 to 6.01.
It’s my understanding that you can no longer use pub.schema:validate to validate an outbound EDI document but that you must use wm.edi.b2b:convertToValues.
In 4.6 I did the following:
- mapped my EDIRecord (ST…SE) of type Document to service in object of pub.schema:validate .
- set the value of conforms to point to my template
- set maxErrors to -1
In 6.01 I’m attempting the following:
- map my EDIRecord (ST…SE) of type Document to service in edidata of wm.edi.b2b:convertToValues
- set the value of EDIFFSchema to EDIFFSchema.X12.V4010.T810
- set validate to true
- set maxErrors to -1
I’m now getting the following error:
Cannot process ffData of type:com.wm.util.Values.
Is EDIRecord now the wrong type to be passing into edidata?
Thanks.