webMethods

webMethods

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 issue

    Posted Tue November 23, 2004 05:07 PM

    Hi folks,

    I am facing one problem when trying to convert a document to string using pub.flatFile:convertToString.
    The document list is converted to string, and two internal fields of the document do not appear in the resulting string, besides it contains data.
    I am working with custom layouts and created the dictionary and schema before generating the document. Also, I am using wM 6.1.

    TIA


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


  • 2.  RE: ConvertToString issue

    Posted Wed November 24, 2004 04:30 AM

    Hi Maldonado,

    Check out your internal fields names. If the field names contain any special characters the output of covertToString will be null.

    Regards,
    Pradeep.


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


  • 3.  RE: ConvertToString issue

    Posted Wed November 24, 2004 12:56 PM

    Hi Pradeep,

    Thanks for your response.
    Actually I found out what is the problem, and it seems to be a bug.
    One of the document fields has no value assigned, so when invoking the pub.flatFile:convertToString it generates the string with some blank fields. If I ‘initialize’ the document, using set value it just works.

    Cheers


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


  • 4.  RE: ConvertToString issue

    Posted Tue October 11, 2005 06:59 PM

    Somebody has some idea of as to decide this problem one is a bug of webMethods?


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