# EDI Submission error

**URL:** <https://techcommunity.softwareag.com/t/edi-submission-error/109637>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [July 9, 2008, 12:18am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637 "2008-07-09T00:18:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nancymathew.251208](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nancymathew.251208](https://techcommunity.softwareag.com/u/nancymathew.251208)\
**Post date:** [July 9, 2008, 12:18am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/1 "2008-07-09T00:18:13Z")

</div>

Seems like some corruption but can’t figure what.

Sporadically users get the error “Server error occurred” when trying to submit EDI docs. The error shown in the error log is attached.

I delete the EDI doc from (TN and Developer) and recreate it and it works for a while till it breaks again.

This last time, I deleted all EDI packages and brought it over from another good server and bounced IS. Waiting to see if it happens again.

Would like to know if anyone else has seen such issues before? I have had this happening a few times past couple of weeks.  
[Error.txt](https://techcommunity.softwareag.com/uploads/short-url/lZm7RnjaLnbDyzCOEBkETnxrbTU.txt) (3.68 KB)

---

<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:** [July 9, 2008, 8:26am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/2 "2008-07-09T08:26:04Z")

</div>

Are you trying to submit from the WmEDI admin homepage??..so the issue might be with WmEDIForTN package…

or else you can develop a service that submits EDI to TN using routeXML service…incase if the error persists in future.

HTH,  
RMg

---

<div class="post-metadata">

**Author:** ![sreeja](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sreeja](https://techcommunity.softwareag.com/u/sreeja)\
**Post date:** [July 22, 2008, 2:20pm UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/3 "2008-07-22T14:20:05Z")

</div>

I don’t know much about this EDI submission.I think it involves flat File formats have fixed record lengths or record segments. Each data element has assigned character positions within each record. Usually the fields and/or records are expanded to the maximum length. Delimiters are not included in the Flat File transmissions, since the data is identified by the position it occupies in the file. The submitting company’s computer staff writes the computer programs to produce the files which contain transactions in the specified format.

---

<div class="post-metadata">

**Author:** ![nancymathew.251208](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nancymathew.251208](https://techcommunity.softwareag.com/u/nancymathew.251208)\
**Post date:** [July 23, 2008, 6:19pm UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/4 "2008-07-23T18:19:20Z")

</div>

The error is happening again.  
I traced the issue through and the problem is at wm.tn.doc:recognize.

I get the error using either wm.tn:receive or wm.tn:routeXML  
Any ideas? This time copying over a good WmTN and WmEDIforTN didn’t help. I had to delete the document and schema then recreate it from EDI Admin.

Error attached  
[Error.txt](https://techcommunity.softwareag.com/uploads/short-url/muaxaIfJva4OlBauvUZ42mCG3QJ.txt) (19.4 KB)

---

<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:** [July 24, 2008, 1:27am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/5 "2008-07-24T01:27:51Z")

</div>

What EDI docType are you routing to TN??

What status showing in the Transaction Analysis section is it unknown on doctype only or sender/receiver/documentype and selecting default rule??

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![nancymathew.251208](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nancymathew.251208](https://techcommunity.softwareag.com/u/nancymathew.251208)\
**Post date:** [July 24, 2008, 1:31am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/6 "2008-07-24T01:31:35Z")

</div>

This one was a 4010 810 but the issue is not specific to an EDI type I have had issues with 4010 830 3010 810 4010 850 but yes I am having issues only with EDI documents

When this error happens it fails at the recognize so doesn’t make it to TN.  
The flow of wm.tn.doc.xml:routeXml is:  
wm.tn.doc:recognize  
wm.tn.route:routeBizdoc

The flow of wm.tn:receive is:  
wm.tn.doc:recognize  
wm.tn:submit  
wm.tn.admin:clearTNObjects

---

<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:** [July 24, 2008, 1:44am UTC](https://techcommunity.softwareag.com/t/edi-submission-error/109637/7 "2008-07-24T01:44:03Z")

</div>

Try this …use routeXML only

For Debug…Just paste the EDI content(valid data) in a string var called edidata (in a map step)

Map step (edidata)  
wm.tn.doc.xml:routeXML (dont map anything here just leave as is)

Before routing make sure the particular EDI documentType exist in TN and in enabled state.

Let us know how it goes…

HTH,  
RMG

---

<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/edi-submission-error/109637/8 "2021-04-02T15:05:47Z")

</div>

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


