" /> IRD Web Service function & XML structure element - Genesys CTI User Forum

Author Topic: IRD Web Service function & XML structure element  (Read 4737 times)

Offline chicodobrazil

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
IRD Web Service function & XML structure element
« on: February 27, 2008, 09:51:18 AM »
Advertisement
Hi All,

I'm trying to use the Web Service function within IRD and to populate levels within the XML request. Let me explain you with an example below.

If you want to request the method "PurchasePayPerViewEventReq" with the elements "ViewingCardNumber" and "Pin", you need to specify the [b]ViewingCardDetails[/b] level within the XML structure.

I can specify on the IRD function the method name "PurchasePayPerViewEventReq" and the key (or element) "ViewingCardNumber" but not the [b]ViewingCardDetails[/b] level.
I tried something with a dot like "[b]ViewingCardDetails[/b].ViewingCardNumber" into the key (or element) field but that's not working.

That's like we can only use simple XML structure in a request : one method and one element, element just below the method within the XML structure.

Do you have already tried this web service function with complex level ?
How to make it work ?

Thanks a lot for your help,
Manuel

[u][i]XML structure sample:[/i][/u]

<?xml version="1.0" encoding="UTF-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://CRM.xxxx.com/2008/01/04/xxxTelephonyService" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
            <q0:PurchasePayPerViewEventReq>
                <q0:[b]ViewingCardDetails[/b]>
                    <q0:ViewingCardNumber>439273</q0:ViewingCardNumber>
                    <q0:Pin>1234</q0:Pin>
                </q0:[b]ViewingCardDetails[/b]>
            </q0:PurchasePayPerViewEventReq>
        </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
« Last Edit: February 27, 2008, 10:01:45 AM by chicodobrazil »

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: IRD Web Service function & XML structure element
« Reply #1 on: February 27, 2008, 09:38:49 PM »
Hi,

Have bad news for you - such request isn't supported by IRD Web Service object :(. It will be necessary to redesign your web service to be able call it from a strategy.

You can find more information about limits of Web Service object in "Universal Routing 7.5 Reference Manual", Appendix A - Web Service Object.

René

Offline chicodobrazil

  • Newbie
  • *
  • Posts: 23
  • Karma: 0
Re: IRD Web Service function & XML structure element
« Reply #2 on: February 29, 2008, 10:01:53 AM »
Thanks René.
We're going to redesign the XML structure, but as the same time, we raised a ticket and asked Genesys to give us such a feature on a future URS release (or with a fix).

Cheers,
Manuel