# How to validate Outbound EDI docs

**URL:** <https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 4, 2009, 10:30pm UTC](https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955 "2009-11-04T22:30:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![javed.mehar](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@javed.mehar](https://techcommunity.softwareag.com/u/javed.mehar)\
**Post date:** [November 4, 2009, 10:30pm UTC](https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955/1 "2009-11-04T22:30:38Z")

</div>

Hi All,  
Anybody help to provide the list of services, which I need to invoke before mapping from flat file to EDI

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [November 4, 2009, 10:50pm UTC](https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955/2 "2009-11-04T22:50:05Z")

</div>

Option would be,once you do wm.b2b.edi:convertToString (which gives output string edidata) and then explicity invoke wm.b2b.edi:convertToValues set validate to yes (it validates against EDIFFSchema) and based on the result vars isValid,errorArray branching, you can perform next steps add Envelopes, routing to TN etc…else notify errors.

HTH,  
RMg

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [November 5, 2009, 6:03am UTC](https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955/3 "2009-11-05T06:03:32Z")

</div>

Based on the general nature of your questions, I’d offer that the first step you should take is review the webMethods EDI module documentation. The docs provide an overview of converting documents to and from EDI representations.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/how-to-validate-outbound-edi-docs/109955/4 "2021-04-02T15:05:57Z")

</div>


