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.  Browse a document

    Posted 07/23/18 11:18 AM

    I have a document like that :
    Document
    SubDocument (Name = Header)
    Var1
    Var2
    SubDocument (Name = Body)
    Bd1
    Bd2

    Bdn

    I want to create a service which create this document :
    DocumentOut
    Var1
    Var2
    Bd1
    Bd2

    Bdn.

    Like this, that seems easy.
    The problem is I have a generic Document in Input. The name of document is not the same for each invoke. The name of header sub document is the same but not the name of body subdocument (neither the variables and name of variables).

    So I would like to create a JavaService whick make the job.
    If I know to get a Document with the interface IData and the static method IDataUtil.GetIData, I don’t know how to browse the subdocument and test the name of this subdocument (if eq to “header” or not equal to “header”).

    Thans to help me by advance.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Browse a document

    Posted 07/24/18 10:54 AM

    Can you please share document screenshot for better understanding?


    #webMethods
    #Integration-Server-and-ESB