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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Problem with convertToString

    Posted 08/02/07 02:27 PM

    Hi,

    I am facing one problem when trying to convert a document to string using pub.flatFile:convertToString. The document is converted to string, and first three characters of the first field are missing in the result string,

    I am using the same flatfile schema defined for convertToValues. convertToValues is working fine. When i tried the result DT of convertToValues to String first three characters of the first field are missing.

    Ex: i need result in this way

    FH,ORFGH5,333,RBA,26000
    TR,Alexts,flexfair,1000

    result i am getting is

    FHFGH5,333,RBA,26000
    TRexts,flexfair,1000

    please help me.

    Regards,
    Jags


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


  • 2.  RE: Problem with convertToString

    Posted 08/02/07 02:41 PM

    I believe your schema is csv defined right??
    In your FFSchema (nth field definition) the first field is set to 1?? when the same schema working in convertToValues it should work convertToString also…In the converttostring service did you set the input “noEmptyTrailingFields” to false??

    HTH,
    RMG


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


  • 3.  RE: Problem with convertToString

    Posted 08/02/07 03:34 PM

    Hi RMG,
    Yes, my schema is csv defined.

    [SIZE=2]In the converttostring service i have set the input “noEmptyTrailingFields” to false.

    but there is no change in the result.

    Thanks,
    Jags
    [/size]


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


  • 4.  RE: Problem with convertToString

    Posted 08/16/07 06:44 PM

    Can u plz send the sample document which u r using so that we can try to solve that?


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