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.  "Concatenate" document types

    Posted Mon August 14, 2006 03:01 PM

    Hi

    I wonder if it´s possible to concatenate 2 document types.
    Example:

    I Have the following DT (as xml):




    Is it possible to concatenate these two to get the following document:


    <–inserted document





    Best Regards
    Mikael


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


  • 2.  RE: "Concatenate" document types

    Posted Mon August 14, 2006 03:54 PM

    why dont u create a third document type with ur requirements and map these two document variables to the new document type …
    HTH
    Sri


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


  • 3.  RE: "Concatenate" document types

    Posted Mon August 14, 2006 04:28 PM

    The thing is that in design time I don´t know which document types to concatenate.

    I would like to validate specific parts of the document and then add e.g. a header to it (header is not supplied by the end user).

    I´m trying to extract a part of the document and add it to another document which only contains the common fields of all the possible document types.

    I don´t know if my explanation is the best.
    I can give a full description (long) one if you don´t understand what I´m trying to achieve.

    Regards
    Mikael Håkansson


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


  • 4.  RE: "Concatenate" document types

    Posted Mon August 14, 2006 04:39 PM

    You can try this approach -
    Create a IS document of this type -


    {GENERIC NODE}(Type “Object”)


    And at run time you can replace that with your Header node.

    Regards
    Shantanu


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


  • 5.  RE: "Concatenate" document types

    Posted Tue August 15, 2006 09:04 AM

    Hi - thanks for the reply

    How can I replace that node at runtime (I know, newbie :slight_smile: )?

    If I try to map to the generic node in design time, the node is not replaced and the new node (e.g. header) is placed under the generic node.

    Regards
    Mikael


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