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.  Creating flatfile from edi 856 x12

    Posted Mon February 10, 2003 08:23 PM

    hello,
    i have input coming as 856 edi (x12) to my IS server.i have to convert it to character delimted falt file.in wm guide mostly it talks about edi conversion.i have 850 edi template installed in my server.i don’t have flatfile structure (template).can you please some body help me on how to create templaes for this output flatfile doc.and tell me what service i have to use for flatfile conversion.
    All your help is appreciated.
    Thanks,
    rao.


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


  • 2.  RE: Creating flatfile from edi 856 x12

    Posted Mon February 10, 2003 08:46 PM

    the wmEDI user guide explains this in detail.
    If you read this you should have no problems… If you are using webMethods 4.6 and trading networks, you should take advantage of the wmEDIforTN package so you can use trading networks to store the edi records and convert them to the webMethods record strucutre.


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


  • 3.  RE: Creating flatfile from edi 856 x12

    Posted Tue February 11, 2003 03:19 PM

    Hello ryan,
    Thanks for your quick response.
    i have 856 edi document is coming as input and i have used
    envelope process , and convertTOvalues services to create to idata object.
    then what is the next step i have to use to convert this idata to flatfile.
    i have to create positional flatfile.
    any help is appreicated.
    Thanks in advance,
    rao


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


  • 4.  RE: Creating flatfile from edi 856 x12

    Posted Tue February 11, 2003 03:40 PM

    Hi all

    I´m new to the group and wm.

    I´m working at a big proyect and have to send a Object from wm to a Ariba Marketplace.

    The API say that is possible put an Object at IData, but doesn´t work I have :

    java.lang.ClassCastException: java.lang.Integer

    this are the line of my program…

    // ---------------- program ------------------------------

    IDataCursor pipelineCursor_1 = pipeline.getCursor();

    IDataUtil.put( pipelineCursor_1, “custponumber”, “”+reqCreated.getCustponumber());

    java.lang.Object objEC2 = (java.lang.Object) reqCreated ;

    IDataUtil.put( pipelineCursor3, “createdReq2”, objEC2 ); —> this is the line that not work

    thanks in advanced

    Julio Oliveira
    jOliveiraAr@yahoo.com.ar


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


  • 5.  RE: Creating flatfile from edi 856 x12

    Posted Tue February 11, 2003 03:50 PM

    Cant you send the customer PO number as a string?
    like
    String objEC2 = String.valueOf(reqCreated);
    This should solve the problem.

    And you can be sure to get better solutions from the experts here.
    Best of Luck!


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


  • 6.  RE: Creating flatfile from edi 856 x12

    Posted Tue February 18, 2003 07:23 PM

    Hi All,

    I’m trying to figure out how this webmethod works. I’m trying to open an EDI flat file and convert to string so I can do some mapping. Can somebody give me some basic guidelines how this is done?


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


  • 7.  RE: Creating flatfile from edi 856 x12

    Posted Tue February 18, 2003 07:50 PM

    Derek, Rao,

    This link may help.
    [url=“wmusers.com”]wmusers.com

    You can also search the archive for more info. Use keyword EDI.

    HTH


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