# wm.b2b.edi:convertToValues throws an exception

**URL:** <https://techcommunity.softwareag.com/t/wm-b2b-edi-converttovalues-throws-an-exception/109474>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 8, 2008, 8:44pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-converttovalues-throws-an-exception/109474 "2008-01-08T20:44:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lelorf](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@lelorf](https://techcommunity.softwareag.com/u/lelorf)\
**Post date:** [January 8, 2008, 8:44pm UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-converttovalues-throws-an-exception/109474/1 "2008-01-08T20:44:20Z")

</div>

Hi everyone 🙂 ,  
   
I’d like to submit an EDI Data (Its document type is UNEDIFACT COARRI 95B) to TN through the form “Submit Test EDI Data” (it’s accessible from IS admin interface\>Solutions\>EDI\>DocExchange).   
The appropriate processing rule is executed with errors. This message appears in the activity log:  
An error occurred invoking the processing service TMSA\_FC001\_RapportMouvement.pub:receptionMC001 for this document.   
The original error was com.wm.app.b2b.server.ServiceException: java.lang.reflect.InvocationTargetException: com/wm/ff/parse/ParseStatus  
 at wm.b2b.ediImpl.convertToValues(ediImpl.java:115)  
 at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source)  
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))  
 at java.lang.reflect.Method.invoke(Method.java(Compiled Code))  
 at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))  
 at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java(Compiled Code))  
 at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java(Compiled Code))  
 at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java(Compiled Code))  
 at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java(Compiled Code))  
 at com.  
   
The invoked service TMSA\_FC001\_RapportMouvement.pub:receptionMC001 uses these EDI services to convert the retrieved EDI Data into an IS Document:  
 wm.b2b.editn:getTspace   
(BizDocEnvelope → Object ediData and String encoding)  
 wm.b2b.edi:convertToValues   
(ediData and encoding → IS Document based on the EDIFFSchema parameter)  
   
During the step-by-step execution of the invoked service I found out that this service wm.b2b.edi:convertToValues returns the error.  
   
The TN document type is correctly installed, the EDI data that I tested with are correct as well and what annoys me the most :mad: is that the processing rule worked fine before!!  
  
Have a nice day!  
   
IS and TN Console version: 6.5  
OS: AIX 5.3  
JVM: 1.4.2 (48.0)  
wmEDI and WmEDIforTN version: 6.5.2 (minimum version of JVM 1.4)

---

<div class="post-metadata">

**Author:** ![Ashok\_Aluri](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@Ashok\_Aluri](https://techcommunity.softwareag.com/u/Ashok_Aluri)\
**Post date:** [April 30, 2008, 2:07am UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-converttovalues-throws-an-exception/109474/2 "2008-04-30T02:07:41Z")

</div>

Check for carriage returns and linefeeds.

---

<div class="post-metadata">

**Author:** ![Jim\_Plested](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@Jim\_Plested](https://techcommunity.softwareag.com/u/Jim_Plested)\
**Post date:** [May 3, 2008, 3:02am UTC](https://techcommunity.softwareag.com/t/wm-b2b-edi-converttovalues-throws-an-exception/109474/3 "2008-05-03T03:02:19Z")

</div>

Open your schema and drop your data in directly. I find it easier to troubleshoot by using the envelopeProcess in the first run. STEP through, watch where the errors are thrown, (ignoring the initial one set when the service is first run) Once you know it is correct, then open your transaction schema and continue directly running the actual schema.

After both have reported no errors, then submit to the WmEDI gui.  
You may find that you have funky delimiters or other out of bounds issues.

---

<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/wm-b2b-edi-converttovalues-throws-an-exception/109474/4 "2021-04-02T15:05:43Z")

</div>

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


