Our company is attempting to use webMethods as a replacement for our existing EDI translator. One of the biggest problems I am encountering is the validation of incoming EDI data. wm.b2b.edi:envelopeProcess seems to
check some of the control numbers in the envelope, and makes use of the
pub.schema:validate service, but I am running into quite a few errors that
validate successfully through these services, but are, in fact, invalid EDI
documents. For example, a segment that is out of order within the document
seems to get automatically “moved” to an “interpreted correct” place, and an
undefined segment (like XX) seems to be ignored when the EDI string is
converted into a record for processing. Optional segments that become
required when other optional segments exist do not seem to be checked,
either. In all cases, the document passes the validation against the schema
without error.
A good EDI validation tool (like EDISim) catches these errors, while I
struggle to put together an inceasingly larger set of BRANCH statements to
catch each one as I stumble upon it. Since many of these issues are
transaction-dependent, I’m starting to wonder if I’m reaching a point of
diminishing returns.
Has anyone out there discovered a good way to catch these EDI exceptions on
an incoming document? How are you handling these kinds of errors? Any help
would be greatly appreciated.
Nancy A. Booterbaugh
nancy.booterbaugh@unisys.com
#Integration-Server-and-ESB#Adapters-and-E-Standards#webMethods