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: Add several attendees to meeting

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
 
I'm able to add an individual attendee to a meeting with a XML like this:
 
 
<?xml version="1.0" encoding="utf-16"?>
<serv:message xmlns:use="http://www.webex.com/schemas/2002/06/service/user" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
  <serv:header>
    <serv:securityContext>
      <use:webExID>***</use:webExID>
      <use:password>****</use:password>
      <use:siteID>243585</use:siteID>
      <use:partnerID>g0webx</use:partnerID>
    </serv:securityContext>
  </serv:header>
  <serv:body>
    <serv:bodyContent xsi:type="att:createMeetingAttendee">
      <person>
        <name>test</name>
        <email>test@mail.com</email>
      </person>
      <sessionKey>****</sessionKey>
    </serv:bodyContent>
  </serv:body>
</serv:message>
 
 
Seeing at the XML API reference, it seems to me that I should be able to add several attendees with something like this:
 

<?xml version="1.0" encoding="utf-16"?>
<serv:message xmlns:use="http://www.webex.com/schemas/2002/06/service/user" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
  <serv:header>
    <serv:securityContext>
      <use:webExID>***</use:webExID>
      <use:password>****</use:password>
      <use:siteID>243585</use:siteID>
      <use:partnerID>g0webx</use:partnerID>
    </serv:securityContext>
  </serv:header>
  <serv:body>
   <serv:bodyContent xsi:type="att:createMeetingAttendee">
      <att:person />
      <att:sessionKey>****</att:sessionKey>
      <att:attendees>
        <att:attendee>
          <att:person>
            <att:name>test1</att:name>
            <att:email>test1@mail.com</att:email>
          </att:person>
          <att:role>ATTENDEE</att:role>
        </att:attendee>

        <att:attendee>
          <att:person>
            <att:name>test2</att:name>
            <att:email>test2@mail.com</att:email>
          </att:person>
          <att:role>ATTENDEE</att:role>
        </att:attendee>

      </att:attendees>
    </serv:bodyContent>
  </serv:body>
</serv:message>

 
But I'm receiving this error: "unable to find FieldDescriptor for 'attendee' in ClassDescriptor of attendeeType".
 
I have tried various other combinations. Is there a way to acomplish this?
 
Thanks

Hello.  I am also trying to add more than one attendee to a meeting, and getting the same error.  Does the interface really only allow one attendee to be added at a time?
 
I'm able to add an individual attendee to a meeting with a XML like this:
 
 
<?xml version="1.0" encoding="utf-16"?>
<serv:message xmlns:use="http://www.webex.com/schemas/2002/06/service/user" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
  <serv:header>
    <serv:securityContext>
      <use:webExID>***</use:webExID>
      <use:password>****</use:password>
      <use:siteID>243585</use:siteID>
      <use:partnerID>g0webx</use:partnerID>
    </serv:securityContext>
  </serv:header>
  <serv:body>
    <serv:bodyContent xsi:type="att:createMeetingAttendee">
      <person>
        <name>test</name>
        <email>test@mail.com</email>
      </person>
      <sessionKey>****</sessionKey>
    </serv:bodyContent>
  </serv:body>
</serv:message>
 
 
Seeing at the XML API reference, it seems to me that I should be able to add several attendees with something like this:
 

<?xml version="1.0" encoding="utf-16"?>
<serv:message xmlns:use="http://www.webex.com/schemas/2002/06/service/user" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:serv="http://www.webex.com/schemas/2002/06/service">
  <serv:header>
    <serv:securityContext>
      <use:webExID>***</use:webExID>
      <use:password>****</use:password>
      <use:siteID>243585</use:siteID>
      <use:partnerID>g0webx</use:partnerID>
    </serv:securityContext>
  </serv:header>
  <serv:body>
   <serv:bodyContent xsi:type="att:createMeetingAttendee">
      <att:person />
      <att:sessionKey>****</att:sessionKey>
      <att:attendees>
        <att:attendee>
          <att:person>
            <att:name>test1</att:name>
            <att:email>test1@mail.com</att:email>
          </att:person>
          <att:role>ATTENDEE</att:role>
        </att:attendee>

        <att:attendee>
          <att:person>
            <att:name>test2</att:name>
            <att:email>test2@mail.com</att:email>
          </att:person>
          <att:role>ATTENDEE</att:role>
        </att:attendee>

      </att:attendees>
    </serv:bodyContent>
  </serv:body>
</serv:message>

 
But I'm receiving this error: "unable to find FieldDescriptor for 'attendee' in ClassDescriptor of attendeeType".
 
I have tried various other combinations. Is there a way to acomplish this?
 
Thanks

In case someone might need this... you can use the following to register multiple attendees in a single request:
 


<body>
<bodyContent xsi:type="java:com.webex.xmlapi.service.binding.attendee.CreateMeetingAttendee">
<person>
<name>James Smith</name>
<email>jsmith@acme.com</email>
</person>
<sessionKey>123456789</sessionKey>
<joinStatus>ACCEPT</joinStatus>
<attendees>
<person>
<name>Tim Allen</name>
<email>tallen@acme.com</email>
</person>
<sessionKey>123456789</sessionKey>
<joinStatus>ACCEPT</joinStatus>
</attendees>
<attendees>
<person>
<name>Rich Johnson</name>
<email>rjohnson@acme.com</email>
</person>
<sessionKey>123456789</sessionKey>
<joinStatus>ACCEPT</joinStatus>
</attendees>
<attendees>
<person>
<name>Mary Collins</name>
<email>mcollins@acme.com</email>
</person>
<sessionKey>123456789</sessionKey>
<joinStatus>ACCEPT</joinStatus>
</attendees>
<emailInvitations>TRUE</emailInvitations>
</bodyContent>
</body>
</serv:message>

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.