cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4414
Views
0
Helpful
6
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Antonio Romero Oca on 04-04-2013 10:00:24 AM
Hi all,

I'm trying to begin with te API using the sample code on Webex for PHP.
The API response:
<serv:response>
 <serv:result>FAILURE</serv:result>
 <serv:reason>Corresponding User not found</serv:reason>
 <serv:gsbStatus>PRIMARY</serv:gsbStatus>
 <serv:exceptionID>030001</serv:exceptionID>
</serv:response>
Any idea about it?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Nathan Morrow on 04-04-2013 06:01:55 PM
Hello,
 
       The sample code uses example values for required fields and they must be replaced with actual data. In this case, the error indicates that the webExId (username) being used does not match any account on the site. 

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Antonio Romero Oca on 05-04-2013 02:57:59 AM
Nathan Morrow:
Hello,
 
       The sample code uses example values for required fields and they must be replaced with actual data. In this case, the error indicates that the webExId (username) being used does not match any account on the site. 

 
Hi, Nathan,
 
thank you very much for your response.
 
I had used my user and password of Webex in required fields before I wrote that question. But no luck.
We wanted to test the api before to get a Premium
That is the complete schema of Request & Response:
<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service"><header><securityContext><webExID>antonio@oxfordconnect.es</webExID><password>**HERE_IS_MY_PASSWORD**</password><siteID>243585</siteID><partnerID>g0webx!</partnerID></securityContext></header><body><bodyContent xsi:type="java:com.webex.service.binding.meeting.LstsummaryMeeting" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting"><listControl><startFrom/><maximumNum>5</maximumNum></listControl><order><orderBy>STARTTIME</orderBy></order><dateScope></dateScope></bodyContent></body></serv:message>
 
HTTP/1.1 200 OK
Date: Fri, 05 Apr 2013 07:54:24 GMT
Server: Apache
Set-Cookie: xsj_xml_wl=R731796713; path=/
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/xml;charset=UTF-8

<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:meet="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:att="http://www.webex.com/schemas/2002/06/service/attendee"><serv:header><serv:response><serv:result>FAILURE</serv:result><serv:reason>Corresponding User not found</serv:reason><serv:gsbStatus>PRIMARY</serv:gsbStatus><serv:exceptionID>030001</serv:exceptionID></serv:response></serv:header><serv:body><serv:bodyContent/></serv:body></serv:message>
 
Any idea?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Nathan Morrow on 05-04-2013 10:58:07 AM
Hello,
 
     antonio@oxfordconnect.es is not a valid username for any account on apidemoeu.webex.com. I was able to find an account that had that email address, but it is using a different username. You will want to make sure you are using the username for webExId or you can change the webExId node to email instead as it is also an acceptable value for authentication.
 
<securityContext><email>antonio@oxfordconnect.es</email><password>**HERE_IS_MY_PASSWORD**</password><siteID>243585</siteID><partnerID>g0webx!</partnerID></securityContext>

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Antonio Romero Oca on 08-04-2013 04:30:33 AM
Nathan Morrow:
Hello,
 
     antonio@oxfordconnect.es is not a valid username for any account on apidemoeu.webex.com. I was able to find an account that had that email address, but it is using a different username. You will want to make sure you are using the username for webExId or you can change the webExId node to email instead as it is also an acceptable value for authentication.
 
<securityContext><email>antonio@oxfordconnect.es</email><password>**HERE_IS_MY_PASSWORD**</password><siteID>243585</siteID><partnerID>g0webx!</partnerID></securityContext>

 
Hi, Nathan
 
Where could I view my user name? I have log in into webex.com but there it seems to be no username. Here is a screenshot: https://dl.dropbox.com/u/58788437/webex.png
I have also try with mi developer user antonio.oxfordconnect, but the It is the same result.
 
Can you help me to find it?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Nathan Morrow on 08-04-2013 03:18:37 PM
hello,
 
You cannot view your username without knowing it. I emailed the username associated with your email address to your email address.

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Lushanthan Sivaneasharajah on 06-06-2013 07:31:06 AM
hi Nathan,
I'm having an error saying "User or Site does not allow to create this meeting type" when I try to schedule the meeting . Why is that?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Lushanthan Sivaneasharajah on 06-06-2013 08:55:36 AM
I'm also having this error. Did you find a solution?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Lushanthan Sivaneasharajah on 06-06-2013 08:56:09 AM
hi Nathan,
I'm having an error saying "User or Site does not allow to create this meeting type" when I try to schedule the meeting . Why is that? Please help me on this.

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Nathan Morrow on 06-06-2013 11:15:38 AM
Hello,

     You are probably sending a specific meeting type in your scheduling request when that type does not exist on the site. Meeting types are used as templates for available meeting features. You can review available meeting types for your account by calling GetUser and reviewing the meetingTypes element and its child elements. Any meeting type you send in your schedule request must be listed in GetUser of your call will fail. You could also try leaving meetingType out of your scheduling request all together and allow it to default to an available type.

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: anil raju on 24-06-2013 01:44:07 AM
<?xml version="1.0" encoding="UTF-8"?><serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:serv="http://www.webex.com/schemas/2002/06/service" xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service"><header><securityContext><email>anillraju@gmail.com</email><password>**PASSWORD**</password><siteID>243585</siteID><partnerID>g0webx!</partnerID></securityContext></header><body><bodyContent xsi:type="java:com.webex.service.binding.meeting.LstsummaryMeeting"><listControl><maximumNum>5</maximumNum></listControl><order><orderBy>STARTTIME</orderBy></order></bodyContent></body></serv:message>


this is my entire message....

i'm getting 

<serv:reason>Corresponding User not found</serv:reason><serv:gsbStatus>PRIMARY</serv:gsbStatus><serv:exceptionID>030001</serv:exceptionID></serv:response></serv:header><serv:body>


i tried with email after i tried with the username at first. Can you please help?

Subject: RE: Error: "Corresponding User not found" when begining with the API php sa
Replied by: Jade Moors on 24-06-2013 11:16:47 AM
Hi Anil,

I don't see an account with the email anillraju@gmail.com on apidemoeu.webex.com.  Are you sure this is the email address used to sign up for your account?  If you signed up with a different email, you may want to try using the email you signed up with.  Otherwise if you want to use anillraju@gmail.com you can try signing up for a new account using that email address.

Regards,

Jayde Moors
WebEx APi Developer Services
Comments
rahulverma116
Level 1
Level 1

Hi All,

I am trying to create user from XML API using the below code:

string strXMLServer = "https://zohno.webex.com/WBXService/XMLService";

            WebRequest request = WebRequest.Create(strXMLServer);

            request.Method = "POST";

            request.ContentType = "application/x-www-form-urlencoded";

            string strXML = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?><id>ddo</id>";

            strXML += "<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:serv=\"http://www.webex.com/schemas/2002/06/service\">";

            strXML += "<header>";

            strXML += "<securityContext>";

            strXML += "<siteName>zohno</siteName>";

            strXML += "<webExID>webExID</webExID>";

            strXML += "<password>password</password>";

            strXML += "<partnerID>webexpartner</partnerID>";

            strXML += "<email>rahulverma116@gmail.com</email>";

            strXML += "</securityContext>";

            strXML += "</header>";

            strXML += "<body>";

            strXML += "<bodyContent";

            strXML += "xsi:type=\"java:com.webex.service.binding.user.CreateUser\">";

            strXML += "<firstName>Rahul</firstName>";

            strXML += "<lastName>Verma</lastName>";

            strXML += "<webExId>Vddo1</webExId>";

            strXML += "<email>rahulverma116@gmail.com</email>";

            strXML += "<password>Test#</password>";

            strXML += "<privilege>";

            strXML += "<host>true</host>";

            strXML += "</privilege>";

            strXML += "<active>ACTIVATED</active>";

            strXML += "<personalMeetingRoom>";

            strXML += "<welcomeMessage>This is welcome message</welcomeMessage>";

            strXML += "<headerImageBranding>false</headerImageBranding>";

            strXML += "</personalMeetingRoom>";

            strXML += "<sessionOptions>";

            strXML += "<defaultSessionType>100</defaultSessionType>";

            strXML += "<defaultServiceType>EventCenter</defaultServiceType>";

            strXML += "<autoDeleteAfterMeetingEnd>false</autoDeleteAfterMeetingEnd>";

            strXML += "<displayQuickStartHost>true</displayQuickStartHost>";

            strXML += "<displayQuickStartAttendees>false</displayQuickStartAttendees>";

            strXML += "</sessionOptions>";

            strXML += "<supportCenter>";

            strXML += "<orderTabs>";

            strXML += "<tab>Tools</tab>";

            strXML += "<tab>Desktop</tab>";

            strXML += "<tab>Application</tab>";

            strXML += "<tab>Session</tab>";

            strXML += "</orderTabs>";

            strXML += "</supportCenter>";

            strXML += "</bodyContent>";

            strXML += "</body>";

            strXML += "</serv:message>";

After that I got the below response from server:

<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: Illegal Text data found as child of: id

  value: "ddo"</serv:reason>

      <serv:gsbStatus>PRIMARY</serv:gsbStatus>

      <serv:exceptionID>999999</serv:exceptionID>

    </serv:response>

  </serv:header>

  <serv:body>

    <serv:bodyContent />

  </serv:body>

</serv:message>

Please help me to create the user. It is very urgent. Thanks

nmorrow
Cisco Employee
Cisco Employee

Hello,

Please remove from your XML request, this is not a valid part of an XML API command. You will also want to use EITHER webExID OR email in your security context, if using both, they will both need to be valid for the same account. You should also remove partnerID and make sure you use a valid password.

Nathan Morrow

ENGINEER.CUSTOMER SUPPORT

nmorrow@cisco.com<mailto:nmorrow@cisco.com>

Phone: +1 916 636 0373

Mobile: +1 916 296 7748

Cisco Systems, Inc.

2868 Prospect Park Drive

Suite 500

Rancho Cordova

California

95670

United States

Cisco.com<http://www.cisco.com>

Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.

rahulverma116
Level 1
Level 1

Hello Nathan,

If this is not the valid XML API command then please tell me the right command which I can use to create the user.

nmorrow
Cisco Employee
Cisco Employee

Hello,

CreateUser is correct for creating a user. The error is due to the ";

Sent from my iPhone

rahulverma116
Level 1
Level 1

Hello,

Actually that code (";) used to concatenation the XML string in the multiple lines.

I have also downloaded the XML API Debug Screen from Cisco website and tried the code in that without (";). It also gives the same error.

nmorrow
Cisco Employee
Cisco Employee

Hello,

“; was not the error, you should remove . The presence of this element in the documentation is an error.

Nathan Morrow

ENGINEER.CUSTOMER SUPPORT

nmorrow@cisco.com<mailto:nmorrow@cisco.com>

Phone: +1 916 636 0373

Mobile: +1 916 296 7748

Cisco Systems, Inc.

2868 Prospect Park Drive

Suite 500

Rancho Cordova

California

95670

United States

Cisco.com<http://www.cisco.com>

Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.

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