" /> Webservice routing data access - Genesys CTI User Forum

Author Topic: Webservice routing data access  (Read 3997 times)

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

Toni

  • Guest
Webservice routing data access
« on: September 28, 2007, 09:05:46 AM »
Advertisement
Hi everybody!!

How are you?

I've been missing some time due to hard working, but I have some good points to think about ;)

I've been thinking to base my routing sistem in custom client data. Can we access that data via WebService?

Since now on, I've been using stored procedures...etc but my client is requesting us to access business data, but via WebService, it could be done?

Can we call a WebService from our strategy?

Thanks a lot!!

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: Webservice routing data access
« Reply #1 on: September 28, 2007, 10:13:19 AM »
Hi Toni,

Starting from version 7.5 there is special block in IRD for accessing WebServices. If You want to access web services created with Visual Studio some configuration on .Net side is required. For previous version onf Genesys You can access Webservices by custom server or from stored procedures ( if db server supports this - for example SQL 2005 )

Regards

Paul

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Webservice routing data access
« Reply #2 on: September 30, 2007, 03:16:12 PM »
Hi Toni,

The support for accessing web services in routing strategy was added to URS/IRD version 7.2.001.08. Version 7.5 brings new feature that allows using WSDL for configuration of the IRD block.

As mentioned by Paul there are other options but the IRD block is pretty easy to use. Unfortunately it doesn't support any authentication so it be could an "security issue" when moving to production.

Paul - what kind of configuration are needed on .Net side? I've created sample WS using VS2003/C# and it works...

René

Marked as best answer by on Today at 08:30:04 PM

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: Webservice routing data access
« Reply #3 on: October 01, 2007, 06:24:04 AM »
  • Undo Best Answer
  • Hi René,

    We were able to invoke webmethods but we had some problems with passing parameters and retriving parameters. Problem was solved by adding following attributes to webmethod:

    [code]
    [WebMethod]
    [SoapRpcMethod(RequestNamespace = "", RequestElementName = "MethodNameRequest", ResponseElementName = "MethodNameResponse", Use = SoapBindingUse.Literal)]
    [/code]

    Toni

    • Guest
    Re: Webservice routing data access
    « Reply #4 on: October 01, 2007, 08:35:53 AM »
    Hi all!

    Thanks a lot my friends! I'll try it and I'll made some experiments and I'll tell you what about!

    ;)