Hello there.
I think the problem is probably that both documents to be loaded have the same ino:docname - ‘crinfo’ - in the load file.
If the values are changed to be unique, the load should work.
The ino:docname attribute is intended to allow users to specify their own names for documents stored in Tamino (it isn’t the same as the doctype).
So you could put the value of the “crid” element into ino:docname (for example), then retrieve the documents “directly” (rather than via a query).
Here is an example of using the ino:docname in an X-Query:
<url>?_xql=/crinfo[@ino:docname='111']</pre><BR>A query like this will always return a set of results (i.e. the results will be wrapped in an ino:response), even if there is only one document in the set.<BR>To do a direct retrieval via the ino:docname, this can be done:<BR><pre class="ip-ubbcode-code-pre"> <url>/crinfo/111
This will return the exact document which was stored, without the Tamino attributes.
I hope that helps,
Trevor.
#webMethods#API-Management#Tamino