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.  Forming document dynamically

    Posted 10/12/03 01:17 AM

    Hi, I am working on wm 6.0.
    I want to form a document (Name-Value pair) dynamically at run time. Both the Name and Value has to come from pipeline. I can have a Value in the document by performing variable substitution but I can’t have the name dynamically.
    Does somebody know how we can achieve this.

    Thanks for your help.


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


  • 2.  RE: Forming document dynamically

    Posted 10/13/03 07:16 AM

    Hi Akshay,
    You can use a java service to get the name-value pairs. By methods getValue(), getKey() u can get them. These are the methods of IDataCursor Interface. For API see
    webMethods6\Developer\doc\API\Java\index.html in ur webMethods installation directory.

    Regards,
    Raghu


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


  • 3.  RE: Forming document dynamically

    Posted 10/13/03 07:26 PM

    Thanks Raghu, Do you mean to use setKey() and setValue() methods of IDataCursor interface. But how this will form a document object as an output ??
    Do you have some code implementation where I can look into.

    Thanks again.
    Akshay.


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


  • 4.  RE: Forming document dynamically

    Posted 10/14/03 07:07 AM

    Hi Akshay,
    Will u please ur requirement clearly,then i could help you in sending the code.
    Regards,
    Raghu.


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


  • 5.  RE: Forming document dynamically

    Posted 10/14/03 08:11 PM

    Hi Raghu,
    I have following parameters in the pipeline.
    Name1, Value1, Name2, Value2, Name3, value3…and so on.
    I want to form a document object (in wm 6.0) by using this Name/Value pair.
    All these values are dynamic and can be different at different times.
    (The problem is the Name is also dynamic beside value).

    Thanks
    Akshay


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


  • 6.  RE: Forming document dynamically

    Posted 10/18/03 10:26 PM

    Thanks Raghu, This is what I was looking for.

    Thanks
    Akshay


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