Cancel
Showing results for 
Search instead for 
Did you mean: 

SOA: What is TextInfo from API GetTCSessionInfo()

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Any idea what information does the array TextInfo from GetTCSessionInfoResponse contain ?

This array is always null in my case.

2 REPLIES

Re: SOA: What is TextInfo from API GetTCSessionInfo()

Phenom
Phenom

Good afternoon, I do not know what is in the array TextInfo, but you can use extraInfo:

 

1)

private static void getTCSessionInfo() throws ServiceException
    {
       //com.teamcenter.services.strong.core.SessionService
        SessionService sessionService = SessionService.getService(connection);
        GetTCSessionInfoResponse res =  sessionService.getTCSessionInfo();
        System.out.println(res.extraInfo);
    }

2)
        SessionService sessionService = SessionService.getService(connection);
        GetTCSessionInfoResponse res =  sessionService.getTCSessionInfo();
        tcSyslog = (String) res.extraInfo.get("syslogFile");

Re: SOA: What is TextInfo from API GetTCSessionInfo()

Solution Partner Legend Solution Partner Legend
Solution Partner Legend
Hello @ArthurRM, thanks for your reply.

Yes I am already using ExtraInfo array to get infos like syslogFile. I was just curious about TextInfos.