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>