I’m trying to create new user, using Tamino API for java via conventional TConnectionFactory and XMLObjectAccessor and execute it using XQuery method but it fails to insert into the ino:security collection. The XQuery that I got here does not seem to be valid to TAMINO.
The XQuery i executed:
declare namespace ino=“http://namespaces.softwareag.com/tamino/response2” update insert <ino:user ino:userid=“TEST123” ino:unencryptedpassword=“TEST123” xmlns:ino=“http://namespaces.softwareag.com/tamino/response2”/> into input()/ino:user
The error:
NestedException:Tamino access failure (INOXDE7718, (cvc-type.3.1.2): invalid element content, Line 0, Column 0: [element “ino:user” in element “ino:user”])
If I executie that statement in Interactive Interface I will get the same error:
- <ino:message ino:returnvalue=“7718”>
<ino:messagetext ino:code=“INOXDE7718”>(cvc-type.3.1.2): invalid element content</ino:messagetext>
ino:messagelineLine 0, Column 0: [element “ino:user” in element “ino:user”]</ino:messageline>
</ino:message>
Is there any Admin functions in Tamino Java API that I can use to create/modify/delete users/groups/acls/aces??
Tks in advance
#Tamino#API-Management#webMethods