<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>xml validation problem : need help</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8527955" />
  <subtitle>xml validation problem : need help</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=8527955</id>
  <updated>2013-06-20T09:53:06Z</updated>
  <dc:date>2013-06-20T09:53:06Z</dc:date>
  <entry>
    <title>RE: xml validation problem : need help</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8530597" />
    <author>
      <name>Jade Moors</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8530597</id>
    <updated>2012-11-13T17:30:04Z</updated>
    <published>2012-11-13T17:30:04Z</published>
    <summary type="html">Hi Sylvain,
 
There appears to be a typo in your namespace.  Your are missing the hyphen in XMLSchema-instance.
 
CURRENTLY: &lt;serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"&gt;
SHOULD BE: &lt;serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema[b][color=#ff0000]-[/color][/b]instance"&gt;
 
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 &lt;meetingPassword&gt; (should be 16 characters or less)
Fix the &lt;duration&gt; (cannot be set to 6020 minutes)
Remove &lt;meetingType&gt;1&lt;/meetingType&gt; (you do not have this meetingType on your site)
Remove or set &lt;joinTeleconfBeforeHost&gt; to false (you cannot join a teleconference if one is not scheduled)
Remove &lt;role&gt;PRESENTER&lt;/role&gt;
 
Regards,
 
Jayde Moors
WebEx API Developer Services</summary>
    <dc:creator>Jade Moors</dc:creator>
    <dc:date>2012-11-13T17:30:04Z</dc:date>
  </entry>
  <entry>
    <title>xml validation problem : need help</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8527954" />
    <author>
      <name>Sylvain Ruda</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8527954</id>
    <updated>2012-11-13T16:47:59Z</updated>
    <published>2012-11-13T16:45:15Z</published>
    <summary type="html">Hi,

I’m actualy trying to create a php to create a meeting.
The return message is :

&lt;serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common"&gt;
&lt;serv:header&gt;
  &lt;serv:response&gt;
         &lt;serv:result&gt;FAILURE&lt;/serv:result&gt;
         &lt;serv:reason&gt;validation: unable to find FieldDescriptor for 'accessControl' in ClassDescriptor of bodyContentType&lt;/serv:reason&gt;
          &lt;serv:gsbStatus&gt;PRIMARY&lt;/serv:gsbStatus&gt;
         &lt;serv:exceptionID&gt;999999&lt;/serv:exceptionID&gt;
  &lt;/serv:response&gt;
&lt;/serv:header&gt;
&lt;serv:body&gt;
  &lt;serv:bodyContent/&gt;
&lt;/serv:body&gt;
&lt;/serv:message&gt;

The xsd define the accessControl element so what is the problem ?

Here is the xml code I send to the server :

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"&gt;
            &lt;header&gt;
                        &lt;securityContext&gt;
                                   &lt;webExID&gt;olivier.pleskoff@wanadoo.frolivier.pleskoff@wanadoo.fr&lt;/webExID&gt;
                                   &lt;password&gt;xxxx&lt;/password&gt;
                                   &lt;siteID&gt;439491&lt;/siteID&gt;
                                   &lt;partnerID&gt;439100&lt;/partnerID&gt;
                        &lt;/securityContext&gt;
            &lt;/header&gt;
            &lt;body&gt;
                        &lt;bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting"&gt;
                                   &lt;accessControl&gt;
                                               &lt;meetingPassword&gt;dVOQTmSnL2Fmxqe4Rt6ZK8AFrQSAhQXJ&lt;/meetingPassword&gt;
                                   &lt;/accessControl&gt;
                                   &lt;metaData&gt;
                                               &lt;confName&gt;Cours de proftest@proftest.comSample Meeting&lt;/confName&gt;
                                               &lt;meetingType&gt;1&lt;/meetingType&gt;
                                   &lt;/metaData&gt;
                                   &lt;participants&gt;
                                               &lt;attendees&gt;
                                                           &lt;attendee&gt;
                                                                      &lt;person&gt;
                                                                                  &lt;name&gt;proftestJames Kirk&lt;/name&gt;
                                                                                  &lt;email&gt;proftest@proftest.com&lt;/email&gt;
                                                                       &lt;/person&gt;
                                                                       &lt;role&gt;PRESENTER&lt;/role&gt;
                                                           &lt;/attendee&gt;
                                               &lt;/attendees&gt;
                                   &lt;/participants&gt;
                                   &lt;enableOptions&gt;
                                               &lt;chat&gt;true&lt;/chat&gt;
                                               &lt;poll&gt;true&lt;/poll&gt;
                                               &lt;audioVideo&gt;true&lt;/audioVideo&gt;
                                   &lt;/enableOptions&gt;
                                   &lt;schedule&gt;
                                               &lt;startDate&gt;11/14/2012 00:45:00&lt;/startDate&gt;
                                               &lt;openTime&gt;900&lt;/openTime&gt;
                                               &lt;joinTeleconfBeforeHost&gt;true&lt;/joinTeleconfBeforeHost&gt;
                                               &lt;duration&gt;6020&lt;/duration&gt;
                                               &lt;timeZoneID&gt;23&lt;/timeZoneID&gt;
                                   &lt;/schedule&gt;
                                   &lt;telephony&gt; &lt;/telephony&gt;
                        &lt;/bodyContent&gt;
            &lt;/body&gt;
&lt;/serv:message&gt;


Could anyone help me ?

Regards,

Sylvain Ruda</summary>
    <dc:creator>Sylvain Ruda</dc:creator>
    <dc:date>2012-11-13T16:45:15Z</dc:date>
  </entry>
</feed>

