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 Getting Started

Corresponding User not found

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi - I am trying a call to the xml-rpc service and i get the error:
 
Corresponding User not found
 
I am building my SecurityContext section like this:
 

trXML += "<siteID>243585</siteID>\r\n";
strXML += "g0webx!\r\n";

 
These credentials are from the 'Try the webex API' page.
 
Do I need other credentials?
 
If so - what are they? I need to test against the sandbox account.
 
Thanks.

Hi John,
 
The request XML should look like the following  
 

 1
 2<?xml version="1.0" encoding="UTF-8"?>
 3
 4<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 5
 6        xmlns:serv="http://www.webex.com/schemas/2002/06/service"
 7
 8       
 9xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service
10http://www.webex.com/schemas/2002/06/service/service.xsd">
11
12    <header>
13
14        <securityContext>
15
16            <webExID>{webex_username}</webExID>
17
18            {webex_password}
19
20            <siteID>243585</siteID>
21
22            g0webx!
23
24        </securityContext>
25
26    </header>
27
28    <body>
29
30        <bodyContent xsi:type="java:com.webex.service.binding.user.GetUser">
31
32            <webExId>{webex_username}</webExId>
33
34        </bodyContent>
35
36    </body>
37</serv:message>


You
should also be aware that the sandbox site is not a fully functioning
site.  We do not allow the automatic creation of users on the site and
we do not give site administrator credentials to the site.  If the
customer that you are developing for is requesting this functionality
they need to sign up for the gold developer plan and get a dedicated
test site.  The use of the APIs on a production site is not a free
service.  The customers account manager for their WebEx site will be
able to discuss this with them further.
 
Thank you
-Kingsley

Thanks - I have this working but it doesn't pull any records out (I was trying to get a full list of meetings).
 
What functionality is exposed through the sandbox environment?
 
Thanks

Hi John,
 
You should be able to do anything a host can do on webex.  You can create/edit/delete meetings, get history data, and add/edit/remove attendees for these meetings.  You do not have site admin functionality on the sandbox.  You cannot create/edit/delete users. 
 
Some commands will also let a site admin pull meeting information or historical data for anyone on the site.  An example of this would be the LstsummaryMeeting command.  Site administrators can list meetings scheduled by all users on the site. Regular hosts can list only their own meetings of all access type (PUBLIC, PRIVATE and UNLISTED).
 
One command you will be interested in is LstSummarySession.  This command is similar to going to the main webex page that will list meetings.  This command can also be used without the need of an id or password in the securityContext.  This is the only call that will allow this.  All other commands will require an webexID or password.
 
 1
 2<?xml version='1.0' encoding='ISO-8859-1'?>
 3<serv:message xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
 4    <header>
 5        <securityContext>
 6            <siteID>243585</siteID>
 7            g0webx!
 8        </securityContext>
 9    </header>
10    <body>
11    <bodyContent xsi:type='java:com.webex.service.binding.ep.LstsummarySession'>
12        <listControl>
13            <startFrom>1</startFrom>
14            <maximumNum>10</maximumNum>
15        </listControl>
16        <order>
17            <orderBy>STARTTIME</orderBy>
18            <orderAD>DESC</orderAD>
19            <caseSensitive>FALSE</caseSensitive>
20        </order>
21        <dateScope>
22            <startDateStart>06/26/2009 23:59:00</startDateStart>
23            <startDateEnd>06/28/2009 23:59:00</startDateEnd>
24            <timeZoneID>4</timeZoneID>
25        </dateScope>
26        <serviceTypes>
27            <serviceType>MeetingCenter</serviceType>
28        </serviceTypes>
29    </bodyContent>
30    </body>
31</serv:message>

 
This command will return back a summary in XML format of PUBLIC meetings that would normally also be seen directly from the WebEx site.  At this point you would just need to parse the XML for any information you are looking for. You can display it to the end user,  or use the information to make further WebEx calls.  
 
Thank you
-Kingsley

That is massively helpful. Thank you.

Just another quick question though - we need this service for webinars - the meeting service is the correct service for webinars isn't it?

Hi John
 
Webinar is sometimes used as a generic term,  but most the time when I hear this I think of WebEx Event Center.  You should verify with your customer that they are using webex EventCenter as it will require spicific APIs.  Each service has its own set of APIs and then there are a few multi purpouse APIs that go across each service.
 
If you find out that they are in fact using Event Center you can simply modify the above API to only pull events with the following change
 
1
2<serviceTypes>
3           <serviceType>EventCenter</serviceType>
4 </serviceTypes>

 
You can also add more serviceType tags with the services you want to get back,  or leave it out altogether to get every meeting/training/event the site has listed as PUBLIC.
 
Thank you
-Kingsley
 

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.