Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Prassytheone on December 01, 2009, 11:22:55 AM

Title: Configuration SDK Doubts
Post by: Prassytheone on December 01, 2009, 11:22:55 AM
Hello All,

I am new to GIS and I am writing a simple C# .NET application which interacts with the GIS to get information from the CME to update the details.

I am following the code as mentioned in the Configuration SDK 7.2 Web Services dev guide and i am able to connect to the Config Service successfully but when retriving the data ,am facing the following issues :

  1. I have added the web reference successfully for Session Service, Stat Service and Config Proxy ,i am trying to use the following methods after getting the session ID:

        DisplayResults(queryAgents,(XmlElement)cfgService.get(queryAgents)), - says there is no such method found.

  2. I am using GIS 7.5 and trying to retrieve values from CME 7.2 will this be a problem??

  3. Will i be able to retrieve the T-Server options using the GIS- Config proxy once i get the connection, do we have any document for this?

Any help regarding the above query will be helpful and apologies if the query seems basic :)

Thanks,
Prassy
Title: Re: Configuration SDK Doubts
Post by: René on December 01, 2009, 08:44:44 PM
Hi Prassy,

[quote]1. I have added the web reference successfully for Session Service, Stat Service and Config Proxy ,i am trying to use the following methods after getting the session ID:
        DisplayResults(queryAgents,(XmlElement)cfgService.get(queryAgents)), - says there is no such method found.[/quote]

Have you created the method DisplayResults? You can find the code in Developers Guide.

[quote]2. I am using GIS 7.5 and trying to retrieve values from CME 7.2 will this be a problem??[/quote]

There should be no problem as Genesys usually maintains backward compatibility.

[quote]3. Will i be able to retrieve the T-Server options using the GIS- Config proxy once i get the connection, do we have any document for this?[/quote]

Yes. You should use the method "Get". XPath query should look like this one "CfgApplication[@name='...name of your T-Server app']".

R.

PS. You should use Developer's Guide for release 7.5 as you have GIS 7.5 and not 7.2.
Title: Re: Configuration SDK Doubts
Post by: Prassytheone on December 02, 2009, 02:58:34 AM
Hello Rene,

Thanks for your reply :) ill follow the hints given by you and proceed and to answer your 1st Question, i had created a method after referring to the dev guide and as suggested ill look at 7.5 rather than 7.2 :)

Cheers,
Prassy