Hi Eric
Thanks, that’ll definitely be useful in the future! But my case is slightly different: one document is from a web service, and the other is a document reference from business data.
The business data doc generates a nice-looking type based on the document’s location is IS, like this:
com.webMethods.caf.is.document.package_Name.folder.structure.documentName
The web service doc is namespaced to the web service, like this:
com.webMethods.caf.wsclient.package_name.web.service.folder.documentName
And even the new way you’ve shown me is specific to the machine name, and is still specific to the WSD:
machinename.package_name.web.service.folder.documentName
If there’s no way to easily do deep copying of bean properties from one “type” to another (even though they’re actually the same document), or specifying that the (really good) structure that the business data uses is also to be used for WSD document types, then I’m not sure what to do, short of just writing a load of mapping code.
Ironically, I’m pretty sure CAF can do this stuff; I think if I mapped in Data Flow from one document type to a structurally identical one, it would just work. Can I access that functionality?
Also, how’s this: there’s a boolean in the document. Generating from Business Data produces an getField() getter, while generating from WSD produces
isField()
. Just to make sure that even BeanUtils.copyProperties() won’t work 
#webMethods-BPMS#MWS-CAF-Task-Engine#webMethods