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

Created by: Yuriy Glushanin on 16-03-2010 03:25:42 PM
Hi!
 
I have sent request using XML API and my admin webex account:

    <bodyContent xsi:type="user:setUser" xmlns:user="http://www.webex.com/schemas/2002/06/service/user">
      <user:webExId>glushanin</user:webExId>
      <user:meetingTypes>
        <user:meetingType>213</user:meetingType>
      </user:meetingTypes>
    </bodyContent>
 
And receive response: 
 
    <serv:response>
      <serv:result>SUCCESS</serv:result>
      <serv:gsbStatus>PRIMARY</serv:gsbStatus>
    </serv:response>

Then, I have sent new request: 

    <bodyContent xsi:type="user:getUser" xmlns:user="http://www.webex.com/schemas/2002/06/service/user">
      <user:webExId>glushanin</user:webExId>
    </bodyContent>

But meetingTypes is empty:

    <serv:bodyContent xsi:type="use:getUserResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <use:webExId>glushanin</use:webExId>
      <use:meetingTypes/>
      ..........
    </bodyContent>

What need I do for update my meeting types?

Subject: RE: XML API: SetUser.
Replied by: Kingsley Lewis on 17-03-2010 09:49:31 PM
Hi Yuriy,
 
Can you verify for me that the site you are testing on has a meeting type of 213?  Sometimes I will see this happen if a meeting type that does not exsit on the site, is issued in a setUser command.  You can call LstMeetingType to get a list of all available meetings on your site.
 
Thank you
-Kingsley Lewis

Subject: RE: XML API: SetUser.
Replied by: Yuriy Glushanin on 19-03-2010 12:42:45 PM
Kingsley,
 
I sent LstMeetingType requst, but receive 
 
    <serv:response>
      <serv:result>FAILURE</serv:result>
      <serv:reason>validation: Parsing Error : The version is required in the XML declaration.Line : 1Column : 58</serv:reason>
      <serv:gsbStatus>PRIMARY</serv:gsbStatus>
      <serv:exceptionID>999999</serv:exceptionID>
    </serv:response>

I use xmlbeans in my Java client, and my request is totally uncorrect:

    <bodyContent>
      <meet:listControl>
        <startFrom>1</startFrom>
        <maximumNum>20</maximumNum>
      </meet:listControl>
    </bodyContent>

I think, that XSD scheme has uncorrect LstMeetingType defenision.

Subject: RE: XML API: SetUser.
Replied by: Kingsley Lewis on 22-03-2010 10:17:00 PM
Hi Yuriy,
 
for some reason XMLbeans sets it as meet:lstMeetingType.  It should be mtgType:lstMeetingType. Can you manually make the change, run the XML and see what the results are?
 
Thank you,
-Kingsley Lewis
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