Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Scheduling Meetings

RE: xml validation problem : need help

Combination View Flat View Tree View
Threads [ Previous | Next ]
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@wanadoo.frolivier.pleskoff@wanadoo.fr</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 proftest@proftest.comSample Meeting</confName>
                                               <meetingType>1</meetingType>
                                   </metaData>
                                   <participants>
                                               <attendees>
                                                           <attendee>
                                                                      <person>
                                                                                  <name>proftestJames Kirk</name>
                                                                                  <email>proftest@proftest.com</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

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

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.