I’m trying for an agent desktop using Agent Interaction SDk webservices(.Net) .
Connecting to GIS and accessing the Services available - Agent , Event & Interaction Services through the .Net Proxy (AIL Library).
Though i’ tried to register for the events by creating TopicsService, not able to get the interaction event when placing a call to the application.subscribe mode is “push” .Main class is Implementing the INotifyService
push mode means that GIS sends updates to client so that mode requires bi-directional connection between client and GIS. If there is any firewall or NAT between your client and GIS then push won’t work.
I would suggest you to download sample application “.NET Rich-client Softphone Toolbar” from DevZone and repeat your test with that sample. If it won’t work either then you should check GIS log to find out why notification are not send to the client.
I tried with Thin client Toolbar from devzone it is working.
Connection to GIS – i’m using .Net proxy - the AilLibrary.dll
In the web.config - added the GIS server url port ,username ,password and
I’m not specifying the optional configuration — like gis session Id .
on click of login it connects to GIS through the Connection.cs
once connect is successful trying to login thorugh the Agent.cs and register for events …
void ProcessEvent()
{
com.genesyslab.ail.ws._event.Event e = agent.GetNextEvent();
}
The event is null
Please suggest am i missing smthing???
figured out the issue…checkforEvents() was not invoked …now solved..
I’m using the thin client toolbar…could you please explain where is the application log ???
i saw Common.Trace(“”) statements ??? but where it is stored…and
one more thing when the application is launched or some action done …page refresh is visible to the user…though Ajax request is done ,how to avoid them… Please suggest.