" /> Issue for running statistics web service example code - Genesys CTI User Forum

Author Topic: Issue for running statistics web service example code  (Read 4481 times)

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
Issue for running statistics web service example code
« on: May 25, 2010, 02:13:29 PM »
Advertisement
When I run Web Service statistic example code "RetrieveSubscribedStatisticExample"
I had a error message: "java.rmi.RemoteException: OpenStat: Supplied Stat Type name not known on server side."
Is there anyone who run into same problem?
what does 'OpenStat: Supplied Stat Type name not known on server side.' this mean?
I should define the stat type 'OpenStat' in statserver???


logging into session server...
logged into session server successfully. Session id =Genesys_Integration_server_763:SessionService:1274795969749H14
Number of services checked out = 1
Service checked out = GIS_STATSERVICE
Statistic needed for 1001
Statistic interested is agent's total login time
java.rmi.RemoteException: OpenStat: Supplied Stat Type name not known on server side.


Thanks in advance.

Kevin

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Issue for running statistics web service example code
« Reply #1 on: May 25, 2010, 03:40:47 PM »
Kevin,

The error means that you're trying to open a statistic that is not defined by used StatServer.

I did quick check of the sample code and it tries to subscribe statistic "Total_Login_Time". Please check that this statistic is defined in StatServer's options.

R.

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
Re: Issue for running statistics web service example code
« Reply #2 on: May 25, 2010, 08:28:18 PM »
there is a total_login_time stat type in stat server's option.
I forgot to change the tenant in the gis.properties.
but it seems error message should be different.
Anyway,it works properly,

Thang you ,Rene.