cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1206
Views
0
Helpful
4
Replies

WebEx Conference Sandbox reservation is always failing

sarmisentest
Level 1
Level 1

Hi

I'm a newbie using Cisco's devnet reserving system, so maybe this is a silly question.

I'm trying to make a reservation of Webex WebConferencing type. However no matter how I do it, I always get the same error when executing the "Setup" command

'Setup' environment command on 'WebEx Web Confe...' failed with 'Unable to Complete Request' error

This command is executed automatically when I reserve the instance. I've tried with two different accounts with the same result. Also I've tried to make another type of reservation  (i.e Contact Center Express which seems far more complicated) with no problems at the setup stage.

Any suggestions would be appreciated,

Best regards,

Sergio

4 Replies 4

jacoadam
Level 5
Level 5

Hello Sergio!

Thanks for trying out the Sandbox! My name is Jacob, and I'm an engineer on the Sandbox Team - I can help you out!

The WebEx lab is sort-of an anomaly among Sandbox labs since we're just connecting you to a public WebEx instance. This is an always-on lab, so you won't need a VPN to connect to the environment.  We use a basic automation to provision a conference ID, then from there you're ready to test some of the APIs and features in WebEx!

The first step is to reserve the lab as you've done. I see that the Setup is failing, but it won't be necessary to use the lab. (Thanks for bringing this to our attention, we'll get that taken care of!) To use the lab, first open the instructions and command windows show in the screenshot below:

WebExI.PNG

Once those are open, reading through the instructions should guide you through getting access to this public lab. You will then need to provision a conference ID by running the Provision_WebEx command show below: (you'll need to press that small gray arrow)

WebExII.PNG

Fill in the mandatory data, and hit run. From there, you can continue down the lab instructions and get access to the lab!

Please let me know if this is clear, and if you have any additional DevNet or Sandbox questions!

Thanks!

Jacob 

TL:DR: The setup command is showing an error, but it won't affect the lab. Run the Provision_WebEx command and follow through the instructions (by pressing the instructions button) to get access.

Hi Jacob!

We are currently exploring the cisco webex API for a new project. However we are having issues with the most common operations, these are the steps we take

1.- We provision webex instance at the devnetsandbox platform (setup step always fails, but you already told us we could ignore it)

CiscoWebex.PNG

2. We try to set up a webex meeting (with minimal data) using POSTMAN. Here’s our xml request

<?xml version="1.0" encoding="ISO-8859-1"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<header>

<securityContext>

<webExID>testsergi</webExID>

<password>1234</password>

<siteID>690319</siteID>

<partnerID>g0webx!</partnerID>

<email>sarmisen@brand-docs.com</email>

</securityContext>

</header>

<body>

<bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">

<metaData>

<confName>Sample Meeting</confName>

<meetingType>1</meetingType>

<agenda>Test</agenda>

</metaData>

<participants>

<maxUserNumber>4</maxUserNumber>

<attendees>

<attendee>

<person>

<name>Sergio Armisen</name>

<email>sarmisen@gmail.com</email>

</person>

</attendee>

</attendees>

</participants>

<enableOptions>

<chat>true</chat>

<poll>true</poll>

<audioVideo>true</audioVideo>

</enableOptions>

</bodyContent>

</body>

</serv:message>

We send this request to the following url:

https://apidemoeu.webex.com/WBXService/XMLService

3. We get this response from your service (validation null point error)

<?xml version="1.0" encoding="ISO-8859-1"?>

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee">

<serv:header>

<serv:response>

<serv:result>FAILURE</serv:result>

<serv:reason>validation: Null Point Error</serv:reason>

<serv:gsbStatus>PRIMARY</serv:gsbStatus>

<serv:exceptionID>000000</serv:exceptionID>

</serv:response>

</serv:header>

<serv:body>

<serv:bodyContent/>

</serv:body>

</serv:message>

Can you please explain us what are we doing wrong?

Thank you very much in advance for your great help.

Kind regards,

Sergio.

Hello Sergio,

I can identify one initial issue in your request code. I believe that you will need the <schedule></schedule> tags which is how you specify the time you'd like to create the meeting for. Also, you may need the <telephony></telephony> tags configured which specify how to call in. Here is what my XML looked like when I tested this out. Please note that I'm using my own webex password and user, you'll need to use yours as you've done above:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <header>

        <securityContext>

            <webExID>SandboxWebExRoom</webExID>

            <password>*****</password>

            <siteID>690319</siteID>

            <partnerID>g0webx!</partnerID>

            <email>jacoadam@cisco.com</email>

        </securityContext>

    </header>

    <body>

        <bodyContent

            xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">

            <accessControl>

                <meetingPassword>pass123</meetingPassword>

            </accessControl>

            <metaData>

                <confName>Sample Meeting</confName>

                <meetingType>1</meetingType>

                <agenda>Test</agenda>

            </metaData>

            <participants>

                <maxUserNumber>4</maxUserNumber>

                <attendees>

                    <attendee>

                        <person>

                            <name>Jacob Adams</name>

                            <email>jacoadam@cisco.com</email>

                        </person>

                    </attendee>

                </attendees>

            </participants>

            <enableOptions>

                <chat>true</chat>

                <poll>true</poll>

                <audioVideo>true</audioVideo>

            </enableOptions>

            <schedule>

                <startDate>08/20/2016 10:10:10</startDate>

                <openTime>900</openTime>

                <joinTeleconfBeforeHost>true</joinTeleconfBeforeHost>

                <duration>20</duration>

                <timeZoneID>4</timeZoneID>

            </schedule>

            <telephony>

                <telephonySupport>CALLIN</telephonySupport>

                <extTelephonyDescription>

                    Call 1-800-555-1234, Passcode 98765

                </extTelephonyDescription>

            </telephony>

        </bodyContent>

    </body>

</serv:message>

Now the response I get isn't perfect either. I get "FAILURE: The user or site does not support this meeting type." My concern is that this may be an ADMIN API which isn't supported by our lab since this is a shared environment. I will check with the WebEx team to verify. Please check out the actual response:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee">

    <serv:header>

        <serv:response>

            <serv:result>FAILURE</serv:result>

            <serv:reason>The user or site does not support this meeting type</serv:reason>

            <serv:gsbStatus>PRIMARY</serv:gsbStatus>

            <serv:exceptionID>110002</serv:exceptionID>

        </serv:response>

    </serv:header>

    <serv:body>

        <serv:bodyContent/>

    </serv:body>

</serv:message>

Finally, don't forget that you need the header Content-Type:application/xml.

As a final reference, I've included this API in a postman collection, please feel free to checkit out and see if you can replicate the same error I'm seeing!

https://www.getpostman.com/collections/4e07526f088a9a90a369

I will reply to this thread once I've got more information from the WebEx team.

Thanks!

Jacob

Hi Jacob,

Gee, thanks for the postman collection, made my testing much easier!

However I get exactly the same error you got:

<?xml version="1.0" encoding="UTF-8"?>

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee">

    <serv:header>

        <serv:response>

            <serv:result>FAILURE</serv:result>

            <serv:reason>The user or site does not support this meeting type</serv:reason>

            <serv:gsbStatus>PRIMARY</serv:gsbStatus>

            <serv:exceptionID>110002</serv:exceptionID>

        </serv:response>

    </serv:header>

    <serv:body>

        <serv:bodyContent/>

    </serv:body>

</serv:message>

So I'll wait for our friends from webex team's response.

Kind Regards,

Sergio.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: