I’ve installed XTS and API for C in machine B.
I’ve stopped XTS using “xtsdssvc -stop” command, and I’ve edited hosts file with:
127.0.0.1 localhost machineB
machineAIP SAGXTSDShost
49.187.0.0 SAGXTSDSport
now, I try to run this cod in machine B:
const char *response;
TAC_HANDLE mHandle;
mHandle = tac_init(“DB_test”);
tac_diagnose(mHandle,“version”);
tac_last_xml_response(mHandle, &response);
printf(“%s\n”, response);
where “DB_test” is a batabase in machine A. And the result is this message:
<ino:message ino:returnvalue='8201>
<ino:messagetext ino:cod=INOXHE8201">Can’t connect to server DB_test, XTS error code -76</ino:mesagetext></ino:message>
What’s wrong ?
#webMethods-Tamino-XML-Server-APIs#webMethods#API-Management