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
Expand all | Collapse all

WmDB Converting Error Document List into String

  • 1.  WmDB Converting Error Document List into String

    Posted 06/23/03 12:19 PM

    I am new to webMethods. I am Using WMDB package with IS 4.6 to insert data. If the insert fails the error message is stored in $errors document list output variable for insert service. I Could not extract the error from this list to send a mail, If I map the document as attachment, the mail comes with null value. Any Easy way to convert the list to an string?.


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


  • 2.  RE: WmDB Converting Error Document List into String

    Posted 06/23/03 01:34 PM

    Hello Rajan,
    One of the ways is to Loop over the $errors and build the body of the mail and later send the mail.

    Else, you can convert the $errors into a string directly by using the converttostring. For this you need to define a XML template of the record.

    HTH
    Bhavani Shankar


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