Hi, I try to create a conference through API, sending a POST request to TP Conductor. Here's an XML I send:
<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
<methodName>factory.conferencecreate</methodName>
<params>
<param>
<value>
<struct>
<member>
<name>authenticationUser</name>
<value><string>user</string></value>
</member>
<member>
<name>authenticationPassword</name>
<value><string>password</string></value>
</member>
<member>
<name>conferenceAlias</name>
<value><string>meet@example.com</string></value>
</member>
<member>
<name>factoryMinDurationMinutes</name>
<value><integer>120</integer></value>
</member>
<member>
<name>encryption</name>
<value><string>required</string></value>
</member>
</struct>
</value>
</param>
</params>
</methodCall>
I got a following response:
<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>8002</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Can't deserialize input: list index out of range</string></value>
</member>
</struct></value>
</fault>
</methodResponse>
Please notice that the request works well when I ommit optional parameters (i.e. factoryMinDurationMinutes and encryption).
It would be also great if you could share with me some guide how to construct all this xml stuff, it's a pity there's not a single example in the Product Programming Reference Guide...
Best wishes,
Jarek
Solved! Go to Solution.
Hey,I have found out that we should use <int> instead of <integer>,and it work!! I can only say that the document is really so misleading..
Hi,did you find out the solution yet,I met this fault too
Hi, sorry to say but I didn't find any solution. We have to wait for a new version I'm afraid and keep our fingers crossed they'll resolve the issue.
Thank you for your reply, it 's so sorry that no expert can solve our problems
Hey,I have found out that we should use <int> instead of <integer>,and it work!! I can only say that the document is really so misleading..
Oh, that's the great news, I'm glad you solved the problem, thanks!