How to do Validate EDIFACT

I have that to validate a document edifact, more message q I receive is edi and I have that to validate with documents edifact of webMethods that they are documents XML, with I make? I have that to make this service manually to transform edi D96A into XML or has algume ready service?