Tamino 4.1.1.1
Trying to store an XML-document to ino:etc (no schema available, any XML document has to be storeable).
Sample code is:
TaminoConnection connection = new
TaminoConnection(http://localhost/tamino/myDB);
connection.Open(TaminoConnectionMode.AutoCommit);
TaminoCommand command = connection.CreateCommand(“ino:etc”);
XmlDocument doc = new XmlDocument();
doc.Load(“test.xml”);
TaminoDocument tdoc = new TaminoDocument(doc);
tdoc.DocName = “HELLO”;
//tdoc.DocType = “ino:nonXML”;
TaminoResponse response = command.Insert(tdoc);
The insert command produces the error “INOXRE8811:Collection name not found:Collection name = ino:etc”.
The insert works if I set tdoc.DocType to “ino:nonXML”, but then my document will be stored as blob (is this correct?).
If the collection ino:etc already has a document of the same type (e.g. imported with the interactive interface) the insert command does not produce the problem.
Any hints.
Thanks in advance,
erwin
#API-Management#webMethods#webMethods-Tamino-XML-Server-APIs