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.  DocumentToRecord issue

    Posted Wed June 08, 2005 12:10 AM

    We are using SAP Business Connector version 4.6.

    Login
    Ls
    Loop over ‘/dirlist’
    –>get
    –>bytesToString
    –>stringToDocument
    –>documentToRecord

    In documentToRecord, I have mapped the boundnode from service out to a record. I do not see the data in this record though I see all the fields of the record. When, I debug I do see the data until I hit the documentToRecord step.

    I appreciate your immediate help. Is there a bug in documentToRecord, or am I missing something here? I played around with different parameters of documentToRecord (arrays, makeArrays, recordName) without any luck.

    PLEASE HELP :frowning:

    Regards,
    Roger


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


  • 2.  RE: DocumentToRecord issue

    Posted Wed June 08, 2005 02:33 PM

    Roger,

    Assuming the file your reading is an XML document you need to set the isXML parameter to “true” on the stringToDocument step.

    Mark


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


  • 3.  RE: DocumentToRecord issue

    Posted Wed June 08, 2005 03:50 PM

    Mark,
    It worked. Thanks for your help.

    Regards,
    Roger


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


  • 4.  RE: DocumentToRecord issue

    Posted Wed June 08, 2005 10:21 PM

    Roger,

    If I had a nickel for every time, I’ve made that mistake I wouldn’t have to do WM architecture projects any longer!

    Someone with a spare minute or two might submit a feature request to make “true” the default value for “isXML”.

    Mark


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