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