webMethods

webMethods

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.  wm.server.ns:getNode

    Posted Fri October 26, 2007 05:58 PM

    Hi,

    This WmRoot package service has an output called ‘node’ string.When i ran this service in developer with service name , it gives me ‘node’ document in the output not string. and it won’t allow me to use this document in pipeline to retreive the fileds out of it.

    does anybody know, how can i use this service.

    Thanks in advance,
    venakt123.


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


  • 2.  RE: wm.server.ns:getNode

    Posted Fri October 26, 2007 06:02 PM

    What are you attempting to do with wm.server.ns:getNode? Please provide some context for this question.


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


  • 3.  RE: wm.server.ns:getNode

    Posted Fri October 26, 2007 06:13 PM

    Hi Mark,

    I am trying to use this service to get metadata information about a wm service like service Type, package name and so on…

    Thanks,
    Venkat123.


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


  • 4.  RE: wm.server.ns:getNode

    Posted Fri October 26, 2007 07:19 PM

    The object being returned is probably a com.wm.lang.ns.NSNode object.

    To help you in your quest, you may find it useful to review the code available in a package named WmDoc. This package is a sample utility available on Advantage. In that package is a service named pub.doc.ui:getNodeData. It uses a class named pub.doc.NSNodeHelper, the source for which can be found in the WmDoc/code/source/pub/doc directory of the package.

    I found it easier to read the node.ndf file myself, convert that XML to an IS document and extract the name/value pairs that I was interested in.


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