I’ve munged together (using various documentation) a java service that outputs a com.wm.lang.ns.NSService record (as well as some other string records).
(Refer to http://www.wmusers.com/forum/showthread.php?p=46955#post46955 for a history about why I’m doing this, if you’re interested…)
I realise the NSService stuff is “unpublished” API… if anyone knows how to get the package name of a given service more elegantly, please let me know!
After running this service, if I do a pipeline dump to file, the data is clearly visible as a “com.wm.util.Values” record, and it’s correct.
The problem, however, is that I can’t seem to map values from the sub-elements of the document record!
Even though the source element has a string in it, if the target string is empty before it is “overwritten” by the mapping, it is left empty. If it has something in it, that content is not repleaced by the mapping.
I’ve noted that other document records show up in the pipeline as com.wm.data.ISMemDataImpl types. Perhaps I should cast from Values to ISMemDataImpl, but there’s no explicit cast available.
Any help appreciated!!
PS I’m a rank amatuer at Java, even more so with wM and the wM API… if you couldn’t tell already…