I am trying to insert non-XML document using code like
TNonXMLObjectAccessor accessor = connection.newNonXMLObjectAccessor(TAccessLocation.newInstance(collection));
TNonXMLObject nonXMLObject = TNonXMLObject.newInstance(inputStream, null, document, docname, contentType);
accessor.insert( nonXMLObject );
and get the error in the last line:
[Fatal Error] :1:424: An invalid XML character (Unicode: 0x1) was found in the element content of the document.
com.softwareag.tamino.db.API.accessor.TInsertException( message: null, tag: JavaTaminoAPI_4_4_1_8, java: 1.5.0_06, os: Windows XP 5.1 ):
For Tamino 4.2.1 it was working OK. contentType is text/html.
#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management