# Best way to validate EDI Outbound messages

**URL:** <https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 9, 2007, 10:13pm UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180 "2007-01-09T22:13:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmy\_antony](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jimmy\_antony](https://techcommunity.softwareag.com/u/jimmy_antony)\
**Post date:** [January 9, 2007, 10:13pm UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180/1 "2007-01-09T22:13:07Z")

</div>

Hi,  
I am trying to create a generic EDI outound validation for all the EDI outbounds.Please help me to list down the possile methods to perform EDI outbound data validation.  
1.Check the Validate Structure option in Processing Rule-\>Pre Processing  
2.Validate the message against the schema in the WM service.  
3.?  
4.?  
5.?

Thanks in advance  
Jimmy

---

<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:** [January 9, 2007, 10:53pm UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180/2 "2007-01-09T22:53:57Z")

</div>

Your both 1&2 options are the generic ways to deal with segment/content validation using via flow (convertToString or pub.schema:validate against its FFSchema) and TN validation (compliance check,duplicate cntrl check with TPA’s), before sending EDI document for outbound delivery… My few cents!!

---

<div class="post-metadata">

**Author:** ![jimmy\_antony](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jimmy\_antony](https://techcommunity.softwareag.com/u/jimmy_antony)\
**Post date:** [January 10, 2007, 12:39am UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180/3 "2007-01-10T00:39:11Z")

</div>

Thanks rmg,  
I found that convertToString is not giving the errorAray for bad EDI messages.convertToValues validates the message properly and gives the error message in case if the Inbound EDI is bad.  
Thanks  
Jimmy

---

<div class="post-metadata">

**Author:** ![jimmy\_antony](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@jimmy\_antony](https://techcommunity.softwareag.com/u/jimmy_antony)\
**Post date:** [January 10, 2007, 8:09pm UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180/4 "2007-01-10T20:09:05Z")

</div>

Decided to go with own validation service 🙂

---

<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:** [January 10, 2007, 8:20pm UTC](https://techcommunity.softwareag.com/t/best-way-to-validate-edi-outbound-messages/109180/5 "2007-01-10T20:20:16Z")

</div>

Does pub.schema:validate not work for you?

---

<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/best-way-to-validate-edi-outbound-messages/109180/6 "2021-04-02T15:05:34Z")

</div>

Closed on April 2, 2021, 3:05pm UTC


