# XML to EDI

**URL:** <https://techcommunity.softwareag.com/t/xml-to-edi/108187>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 4, 2004, 4:11am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187 "2004-02-04T04:11:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [February 4, 2004, 4:11am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187/1 "2004-02-04T04:11:30Z")

</div>

New to webMethods EDI Modules

Appreciate if the experts can point me to the right direction.

Currently, I have a development task to read multiple XML files (of the same types) from a file folder. Upon reading those files, I need to convert/map those files to EDI transactions.

I have read through the EDI/EDIINT documents (and Developer Built-In Services guide and FlatFile package doc) and cannot find any services that will returns a list of the files (or files names) based on a supplied folder.

Just would like to see anyone has any ideas (apart from developing own Java Service…)

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [February 4, 2004, 4:30am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187/2 "2004-02-04T04:30:36Z")

</div>

There is no built-in service available for listing of the files…

As far i know,Coding a javaservice is only a quick solution.

HTH.

---

<div class="post-metadata">

**Author:** ![Chris\_L](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@Chris\_L](https://techcommunity.softwareag.com/u/Chris_L)\
**Post date:** [February 4, 2004, 4:53am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187/3 "2004-02-04T04:53:09Z")

</div>

there’s a perfect example in the wmEDISamples package.

HTH

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [February 4, 2004, 4:56am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187/4 "2004-02-04T04:56:57Z")

</div>

If you are a webMethods partner/customer, you can download the PSUtilities package from Advantage. If this is the case, look no further as you can use the following service:

PSUtilities.file:listFiles

Just make sure that you copy the service to your package and make modifications in your package as this is best practice.

HTH

Ray

---

<div class="post-metadata">

**Author:** ![raymoser](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/raymoser/32/694_2.png) [@raymoser](https://techcommunity.softwareag.com/u/raymoser)\
**Post date:** [February 4, 2004, 4:58am UTC](https://techcommunity.softwareag.com/t/xml-to-edi/108187/5 "2004-02-04T04:58:41Z")

</div>

Also, don’t forget the file polling port capabilities of Integration Server. You can even filter for file type and read-in only the ones that you want.

HTH

Ray

---

<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/xml-to-edi/108187/6 "2021-04-02T15:05:06Z")

</div>


