Problems Storing documents using HTTP API for Java

Hi colleagues!

I am testing my web application (built using Tamino with Tamino 3.1, and I have the following problem:

Using the API method TaminoResult insert(org.w3c.dom.Element element, java.lang.String collection, java.lang.String doctype)
I can store only the first document because I get the error INOXYE9202 “Unique constraint violated” with the next documents in the same schema.
There is no problem if I use the browser.

I suppose the problem is the docname, I have to specify another docname. But I don