cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Please note that Remote Expert Mobile announced end-of-life and support will end on February 28, 2022.
642
Views
0
Helpful
5
Replies
Highlighted
Beginner

Cannot create a conference with optional input

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Beginner

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..

View solution in original post

5 REPLIES 5
Highlighted
Beginner

Hi,did you find out the solution yet,I met this fault too

Highlighted

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.

Highlighted

Thank you for your reply, it 's so sorry that no  expert can solve our problems

Highlighted
Beginner

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..

View solution in original post

Highlighted

Oh, that's the great news, I'm glad you solved the problem, thanks!

Content for Community-Ad