IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  EDIstream vs EDI content-types

    Posted Wed January 28, 2009 06:18 PM

    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


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 2.  RE: EDIstream vs EDI content-types

    Posted Wed January 28, 2009 06:56 PM

    Can you share the details of the service steps?


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 3.  RE: EDIstream vs EDI content-types

    Posted Wed January 28, 2009 06:59 PM

    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


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 4.  RE: EDIstream vs EDI content-types

    Posted Wed January 28, 2009 08:23 PM

    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


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 5.  RE: EDIstream vs EDI content-types

    Posted Wed January 28, 2009 08:51 PM