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.  convertToString

    Posted Thu March 27, 2008 09:35 PM

    can you please help me out to resolve this issue?

    I am trying to write the X12 structure as soon as I populate a record. For e.g. as soon as populating the BEG segment, i am trying to write the segment to file. But the convertToString service is also writing a ST record in addition to the BEG record with the control number.
    Please let me know if there is any way to avoid this ST segment being written to file.

    Also, would like to know the usage of “Start AT” parameter in the convertToString service.

    Appreciate your help in this regard.
    Thanks & Regards,
    Vishnu


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: convertToString

    Posted Mon March 31, 2008 08:16 PM

    There are a lot of PDF files available for EDI in advantage. You should get your answer in those pdf.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: convertToString

    Posted Mon March 31, 2008 08:42 PM

    Sorry to inform you that I referred the PDF files in EDI advantage site, but was not able to find answers for my problem (WMEDI - Built in services pdf)

    Thanks & Regards,
    Vishnu


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: convertToString

    Posted Mon March 31, 2008 09:15 PM

    Please elaborate the problem…
    what is the source of ur EDI. r u using TN to receive the EDI?
    what is the exact requirement? do u want to write the whole EDI data into one file or each segment into different files?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: convertToString

    Posted Mon March 31, 2008 09:32 PM

    Looks like it is a typical requirement…What is the reason behind for writing each segment to a file??

    StartAt Parameter:

    [B][FONT=Arial Narrow][SIZE=2]

    String [/b][/size][/font]Allows the convertToString [FONT=PalatinoLinotype][SIZE=2]service to start at a specific record in the flat file
    schema used to create the output string. Specify the path to the element where you want to start composing the output string.

    [/size][/FONT]

    HTH,
    RMG


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: convertToString

    Posted Mon March 31, 2008 10:21 PM

    Thanks for the reply.

    The reason behind writing each segment to a file is to decrease the load on the services and increase the performance.

    Can you give me an example what is the value that is to be given for start At parameter, as I have explored all the possible options for this. But could not get how to use this parameter.

    Lets say my EDI structure is in this format

    T850DT
    |_____ST
    |-----------BEG (Child of ST)
    |-----------N1 (Child of ST)…

    Now I want to write out BEG segment, can you tell me what is the value that I have to give for startAt parameter?

    Thanks & Regards,
    Vishnupriya


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 7.  RE: convertToString

    Posted Tue April 01, 2008 12:06 AM

    Hmmm. How large do you expect one transaction set to get? Typically (but not always) transaction sets are not large enough to have to worry about this. It is receiving large interchanges and trying load those completely into memory that is usually the issue.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB