# convertToString is not validating the EDI messsage?

**URL:** <https://techcommunity.softwareag.com/t/converttostring-is-not-validating-the-edi-messsage/109188>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 10, 2007, 8:05pm UTC](https://techcommunity.softwareag.com/t/converttostring-is-not-validating-the-edi-messsage/109188 "2007-01-10T20:05:03Z")\
**Posts on this page:** 4\
**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 10, 2007, 8:05pm UTC](https://techcommunity.softwareag.com/t/converttostring-is-not-validating-the-edi-messsage/109188/1 "2007-01-10T20:05:03Z")

</div>

😕 convertToString service is not validating the outbounds,but converToValues is validating inbounds properly.Any thoughts on this issue?  
Jimmy:confused:

---

<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:18pm UTC](https://techcommunity.softwareag.com/t/converttostring-is-not-validating-the-edi-messsage/109188/2 "2007-01-10T20:18:00Z")

</div>

In the Flat File Schema Developer’s Guide, the description of pub.flatFile:convertToString states:

> [@](#):
>
> This service does not validate the document.

If you want validation, you’ll need to do so in a separate step.

---

<div class="post-metadata">

**Author:** ![spg](https://avatars.discourse-cdn.com/v4/letter/s/9dc877/32.png) [@spg](https://techcommunity.softwareag.com/u/spg)\
**Post date:** [January 10, 2007, 11:58pm UTC](https://techcommunity.softwareag.com/t/converttostring-is-not-validating-the-edi-messsage/109188/3 "2007-01-10T23:58:10Z")

</div>

That’s right. convertToValues is the way to go.

Shubhro

---

<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/converttostring-is-not-validating-the-edi-messsage/109188/4 "2021-04-02T15:05:34Z")

</div>


