# EDIstream vs EDI content-types

**URL:** <https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [January 28, 2009, 11:17pm UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798 "2009-01-28T23:17:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pidurika](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@pidurika](https://techcommunity.softwareag.com/u/pidurika)\
**Post date:** [January 28, 2009, 11:17pm UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798/1 "2009-01-28T23:17:51Z")

</div>

Hi,  
I have a service that receives edidata (Data Type is String) as input. I invoke the service from an FTP client (Command line DOS for now) as follows -

1. cd to the service directory
2. put ;application/EDI

This invokes the service with the edidata populated. No problems there.

I want to change the edidata to an InputStream (As some of the edi data we receive could be large). So I did the following -

1. Changed edidata input type to Object and Java Wrapper Type to UNKNOWN.
2. In the FTP session,  
a. cd to the service directory  
b. put ;application/EDIstream

Here is the problem. I am getting an error in the IS as  
[ISC.0076.0007W] XMLCoder decode invalid data type: wm.server.net.FTPInputStream

The pipeline with edidata (Stream) is null.  
I am not sure what I am missing.

Anil

---

<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 28, 2009, 11:56pm UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798/2 "2009-01-28T23:56:00Z")

</div>

Can you share the details of the service steps?

---

<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 28, 2009, 11:59pm UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798/3 "2009-01-28T23:59:15Z")

</div>

Anil,

Try with setting to contentStream (case sensitive) as input object in the service and Content-type(application/EDIstream) remains the same…

Also put a tracePipeline and check the logs during its transfer…

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![pidurika](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@pidurika](https://techcommunity.softwareag.com/u/pidurika)\
**Post date:** [January 29, 2009, 1:22am UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798/4 "2009-01-29T01:22:50Z")

</div>

RMG/Raemon,  
I had SavePipeLineToFile as the first step in the flow (Followed by exit on success step). This was causing the FTPContentHandler that invokes the service to fail. Once I removed it, it was fine.

Thanks,  
Anil

---

<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 29, 2009, 1:51am UTC](https://techcommunity.softwareag.com/t/edistream-vs-edi-content-types/109798/5 "2009-01-29T01:51:05Z")

</div>

Uh…you did it…

---

<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/edistream-vs-edi-content-types/109798/6 "2021-04-02T15:05:52Z")

</div>


