IRD Web Service function & XML structure element

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 ViewingCardDetails 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 ViewingCardDetails level.
I tried something with a dot like “ViewingCardDetails.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

XML structure sample:

<?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:ViewingCardNumber439273</q0:ViewingCardNumber>
q0:Pin1234</q0:Pin>
</q0:ViewingCardDetails>
</q0:PurchasePayPerViewEventReq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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é

1 Like

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

1 Like