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

BusinessNode updat (XApplication 3.1.1-Java API)

  • 1.  BusinessNode updat (XApplication 3.1.1-Java API)

    Posted Tue February 26, 2002 05:07 PM

    Hi,
    I would like to know how can I modify a BusinessNode from other BusinessNode.

    (Tamino 3.1, Tomcat 3.3. JDK 1.3.1_01, XApp 3.1.1)



    Note1: the struture of detail is more complex in my application.

    Note2: I need to build part of XML subtreefrom a XML String.
    *********


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: BusinessNode updat (XApplication 3.1.1-Java API)

    Posted Wed February 27, 2002 09:50 AM

    Hello,

    if I understand your code example, you try to add a new sub-tree (of type detail) to your document (myProduct). You could do this with the following line of code


    // – index, where to insert the detail node into the list of details.
    int idx = ???;
    // – insert, a new node of type detail to the element product.
    BusinessNode detail = myProduct.getDescendant(“/product”).insert(idx, “detail”);
    // – set the values of detail:
    // (a) u3e getDescendant(…) for getting sub-nodes of d


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: BusinessNode updat (XApplication 3.1.1-Java API)

    Posted Wed February 27, 2002 10:52 AM

    Hello,

    This topic will be moved to the Assistance Forum in the next days.
    The assistance forum is intended to be used for technical questions and answers.

    Thank you for your understanding.

    Regards, Harald

    [This message was edited by Harald Wolf on 19 Mar 2002 at 12:01.]


    #API-Management
    #webMethods
    #Tamino