I’ve tested the proposed way of working but Tamino isn’t throwing an execption when the second user tries to insert a document with the same docName.
The documentation mentions that this is a normal way of reaction :
Inserts the XML document represented by the TXMLObject instance into the Tamino database. If the TXMLObject carries an id, the insert operation ignores it. If an XML document already exists with the same docname this object will be replaced and no new object will be inserted. If the insert succeeds, the id, collection and doctype properties are set on the TXMLObject instance. The following characterizes this behavior: !xmlObject.hasDocname() Insert.
xmlObject.hasDocname() Insert, if a document with the given ino:docname does not exist.
xmlObject.hasDocname() Update, if a document with the given ino:docname already exists
Like mentioned, no exception is throwed.
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management