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

Queries in String Table and Conditional mapping

  • 1.  Queries in String Table and Conditional mapping

    Posted 05/16/06 01:52 PM

    Hi,

    1) How to convert String Table input type to Document List?

    Problem description is :

    Write a service to take string table as input and convert it into document list.

    There is one built-in service “stringListtoDocumentList”. But I couldnot find anything from StringTabletoDocumentList.

    2) How to show conditional mapping between 2 variables?
    There are 2 input variables : price and quantity. Output variable is Amount. Amount is product of quantity and price. How to depict this using mapping?

    Thanks,
    Asawari


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


  • 2.  RE: Queries in String Table and Conditional mapping

    Posted 05/16/06 02:36 PM

    Hi Asawari,

    Sol1 )
    Give string table as inarray for Loop.
    Inside loop string table will become stringlist, then you can invoke built-in-service: stringListtoDocumentList

    sol2)
    in map step invoke a service pub.math:multiplyInts.
    map price TO num1
    map quantity TO num2
    map Amount TO value

    Regards,
    Puneet Saxena


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