All I can think of is create an SOA wrapper to your TC_write_syslog ITK function and call it from your SOA client
Thank you for your reply! Yeah I thought about it. Just wanted to check that there is no OOTB java tools to achive this.
I've never worked before with c functions from Java.
What are using for that, JNI (Java Native Interface) or something else?
Though I am not sure how feasible it is to directly write to syslog, I can suggest getting absolute path to syslog using API "getTCSessionInfo". The GetTCSessionInfoResponse contains Hashtable ExtraInfo. You can get absolute path to syslog using key "syslogFile".
Thank you for your valuable advice!
Without your hint it was impossible for me to find this value in API documentation.
Yeah, writing with Java tools to syslog file does not work properly but it's ok and enough for my syslog parser.
Here is Java way to get it:
Map<String, String> extraInfo = session.getConnection().getTcSessionInfo().extraIn