hi all,
I just want to use the trial method “setDocname” of TXMLObject. But I don’t have any idea, why it does not work. After setting the docname, the variable “docname” of tObject is =“”. After inserting the tObject, this file has the ino:id as docname.
Hier is a snapshot of my code:
File xmlFile = new File(path);
TXMLObject tObject = TXMLObject.newInstance(xmlFile);
tObject.setDocname("test");
TResponse response=accessor.insert(tObject);
Best Regards,
mz
#webMethods-Tamino-XML-Server-APIs#webMethods#API-Management