Troy,
Well, you can, of course, get the local name of the document type without the namespace (folder.subfolder) qualification using just the IDataCursor.getKey() method.
You could use the isValidService example to determine if that name was, in fact, the fully qualified name of a document type.
However, I don’t know of a way to derive a fully qualified document type name without using some external repository. If your service is called with only the non-qualified document type name, say PurchaseOrder, you would not have any way of knowing whether the correct document type was pub.accounting:PurchaseOrder or pub.inventory:PurchaseOrder.
The pub.publish:publish service takes an additional parameter so that it knows the correct document to publish to the broker. If you want to do the same thing, but derive the document type name you’ll have to either restrict the problem space (only documents in these folders, for example) or come up with a way to look up the name in some repository (xml file, database, etc.).
HTH,
Mark
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods