cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Sylvain Ruda on 13-11-2012 10:45:15 AM
Hi,

I’m actualy trying to create a php to create a meeting.
The return message is :

<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common">
<serv:header>
  <serv:response>
         <serv:result>FAILURE</serv:result>
         <serv:reason>validation: unable to find FieldDescriptor for 'accessControl' in ClassDescriptor of bodyContentType</serv:reason>
          <serv:gsbStatus>PRIMARY</serv:gsbStatus>
         <serv:exceptionID>999999</serv:exceptionID>
  </serv:response>
</serv:header>
<serv:body>
  <serv:bodyContent/>
</serv:body>
</serv:message>

The xsd define the accessControl element so what is the problem ?

Here is the xml code I send to the server :

<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
            <header>
                        <securityContext>
                                   <webExID>olivier.pleskoff@[email protected]</webExID>
                                   <password>xxxx</password>
                                   <siteID>439491</siteID>
                                   <partnerID>439100</partnerID>
                        </securityContext>
            </header>
            <body>
                        <bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting">
                                   <accessControl>
                                               <meetingPassword>dVOQTmSnL2Fmxqe4Rt6ZK8AFrQSAhQXJ</meetingPassword>
                                   </accessControl>
                                   <metaData>
                                               <confName>Cours de [email protected] Meeting</confName>
                                               <meetingType>1</meetingType>
                                   </metaData>
                                   <participants>
                                               <attendees>
                                                           <attendee>
                                                                      <person>
                                                                                  <name>proftestJames Kirk</name>
                                                                                  <email>[email protected]</email>
                                                                       </person>
                                                                       <role>PRESENTER</role>
                                                           </attendee>
                                               </attendees>
                                   </participants>
                                   <enableOptions>
                                               <chat>true</chat>
                                               <poll>true</poll>
                                               <audioVideo>true</audioVideo>
                                   </enableOptions>
                                   <schedule>
                                               <startDate>11/14/2012 00:45:00</startDate>
                                               <openTime>900</openTime>
                                               <joinTeleconfBeforeHost>true</joinTeleconfBeforeHost>
                                               <duration>6020</duration>
                                               <timeZoneID>23</timeZoneID>
                                   </schedule>
                                   <telephony> </telephony>
                        </bodyContent>
            </body>
</serv:message>


Could anyone help me ?

Regards,

Sylvain Ruda

Subject: RE: xml validation problem : need help
Replied by: Jade Moors on 13-11-2012 11:30:04 AM
Hi Sylvain,
 
There appears to be a typo in your namespace.  Your are missing the hyphen in XMLSchema-instance.
 
CURRENTLY: <serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
SHOULD BE: <serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 
Once you correct that you will most likely see some several other errors in your request with several parameters being passed.  You will need to:
 
Shorten the <meetingPassword> (should be 16 characters or less)
Fix the <duration> (cannot be set to 6020 minutes)
Remove <meetingType>1</meetingType> (you do not have this meetingType on your site)
Remove or set <joinTeleconfBeforeHost> to false (you cannot join a teleconference if one is not scheduled)
Remove <role>PRESENTER</role>
 
Regards,
 
Jayde Moors
WebEx API Developer Services
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:

Quick Links