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.


#TechXchangePresenter
 View Only
  • 1.  where is wm.server.ns:getNode out?

    Posted Thu March 25, 2010 07:07 AM

    hi wmusers,

    i wanted to get list of all my service in one package.
    i invoke wm.server.ns:getNode.

    i found an output Document called “node”.
    but, when i tried to copy the output to on other pipeline. i got null from “node” pipeline?

    but, it works when i save the pipeline to the file, then restore the pipeline and copy it to an other Document.

    wm.server.ns.getNode
    pub.flow.savePipelineToFile
    pub.flow.clearPipeline
    pub.flow.restorePipelineFromFile
    MAP (save to an other pipeline)

    what’s happen with the pipeline output (“node”)?
    is it hidden and can not be copied to an other?


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


  • 2.  RE: where is wm.server.ns:getNode out?

    Posted Thu March 25, 2010 11:33 AM

    I had to do the same thing (save+restore) some times ago to get the node document, don’t know really why… It is an internal service so it’s not documented and “should not” be used.

    You can try wm.server.packages:packageInfo in order to retrieve all the services in a package.

    But allways be aware that these services can be modified/changed/removed between the different “versions” :proud:


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


  • 3.  RE: where is wm.server.ns:getNode out?

    Posted Thu March 25, 2010 12:02 PM

    thank you,

    i used getNode to get detail infromation of service (input, output, Store Procedure Name, table name, etc).
    i will be carefull using this service.


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


  • 4.  RE: where is wm.server.ns:getNode out?

    Posted Fri March 26, 2010 07:00 PM

    That service actually returns an NSNode Java object. You can use a Java service to extract more information from it. Example of service that returns package associated with the node:

    • Percio

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