Hi,
I am using webex free trail account. I am now in development of an application that would make xml request using xml api in webex. Inorder to do that i need site id and partner id to construct the xml request file. Can anybody help me to find the site id of free trail webex meeting site.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Guruprasath,
I think you need to Contact your WebEx Web Conferencing Account Manager (CSM) for getting the Site id and Partner id.
Refer - https://developer.cisco.com/site/collaboration/webex/webex-developer/faqs/xml-api/
However, WebEx is kind enough to allow anyone to test out their API on a shared sandbox site (https://apidemoeu.webex.com) without any costs before deciding whether their services really suits your business needs and requirements. Do note that site admin privileges will not be granted, hence you will be limited to APIs that do not require admin level access.
Reference -Hands on WebEx XML API in ASP.NET | adorr.net
Thanks and Regards,
Geevarghese
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
Thanks in advance,
Haiyuan Wang.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello Haiyuan,
We are actually switching over to <siteName> in the somewhat near future in place of <siteID> and <partnerID>, so you can simply remove the latter two and replace with <siteName>apidemoeu</siteName> (if you end up using the API for another WebEx site, the value you would enter there would be in the "sitename" spot in the example URL below:
PLEASE NOTE: This is only for the developer sandbox site (apidemoeu.webex.com) and branded corporate WebEx sites. The true free trial site (meetings.webex.com & meetingsln.webex.com) do not support the WebEx APIs.
Hope this helps.
Kasey
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks very much Kasey!
If you mean I could replace the
in XML api like the screen shot as attachment .
Thanks ,
Haiyuan Wang.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Haiyuan,
Yes, if using that screenshot as an example, just replace <partnerID></partnerID> with <siteName></siteName>. Again, to be clear, this is only for the demo site and paid WebEx sites, not the free trial/pay per use sites. Hope that makes sense. Let me know if you have any other questions on this. Thanks!
Example securityContext:
<securityContext> | |
<webExID>USERNAME</webExID> | |
<password>PASSWORD</password> | |
<siteName>SITENAME</siteName> | |
</securityContext> |
Kasey
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's very kind of you for this info which helps me too much!
Thanks Kasey!I will try this with a paid Webex site.
Regards ,
Haiyuan Wang.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Kasey,
I got status* 302* when I send post request with String requestXML as your
advice as below:
Example securityContext:
""+
"<siteName>siteName</siteName>"+*
"<webExID>username</webExID>"+*
"<password>password</password>"+*
"";
and I sent it to String xmlServerURL = "https://siteName.webex.com/meet/
username";And my account is a paid account.
If should I use String xmlServerURL = "https://siteName.
webex.com/WBXService/XMLService ?
Regards,
Haiyuan Wang.
On Thu, Nov 19, 2015 at 9:57 AM, Haiyuan Wang <haiyuwang@tibco-support.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Haiyuan,
You should POST to https://siteName.webex.com/WBXService/XMLService.
The API will accept a SAML assertion if your site is configured with Single Sign On. What's the problem you're experiencing?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Kasey,
I found someone said he had "wrote a tool to open WebEx" with *only site
username and password*(without SSO),which is related to
https://communities.cisco.com/docs/DOC-49869 and screenshot as follow:
I wonder if Webex provide an api for develpers to log in to Webex server
with only username and password?
Thanks, Haiyuan.
â
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Haiyuan,
A Site Administrator can still log into the admin tool (sitename.webex.com/admin) and authenticate in the securityContext of XML requests with their username/password, but any hosts would need to authenticate via SSO.
Kasey
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Kasey,
I feel so sorry to reply you till now as I am just back from leave.
Also I wish you a happy Thanksgiving Day!
Now I found the getloginTicket apimeets my need and now my application
progarm works , but it seems that I did not authenticate via SSO.
Thanks,
Haiyuan.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Kasey, I met another puzzle is that, I use this XML api to "get meeting attendees".(this api ia related to https://developer.cisco.com/site/webex-developer/develop-test/xml-api/xml-api-reference/)
<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>hostid</webExID>
<password>hostpassword</password>
<siteID>0000</siteID>
<partnerID>9999</partnerID>
<email>johnsmith@xyz.com</email>
</securityContext>
</header>
<body>
<bodyContent
xsi:type="java:com.webex.service.binding.attendee.LstMeetingAttendee">
<meetingKey>82679427</meetingKey>
</bodyContent>
</body>
</serv:message>
(Of cource I repalce the partnerId and siteId with sitaName) The question is:
1.After request this xml api to https://siteName.webex.com/WBXService/XMLService,Only got the attendees which had been invited by sending email even though they had not attended my meeting.But couldn't get the attendees which had attended my meeting by click the meeting url. How can I get the attendees had attended my meeting by clicking the meeting url?
Whether should I change to use other APIs?
Thanks in advance!
Thanks, Haiyuan Wang.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Kasey,
Sorry for trouble you once and again, Now I am studying on WebEx XML api
when met some issues.
At first the doc said API will accept a SAML assertion in place of a *user
password*(related to Webex authenticateuser xml api
.
Looking forword to your reply!
Regards,
Haiyuan.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I met a puzzle is that, I use this XML api to "get meeting attendees".(this api ia related to https://developer.cisco.com/site/webex-developer/develop-test/xml-api/xml-api-reference/)
<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>hostid</webExID>
<password>hostpassword</password>
<siteID>0000</siteID>
<partnerID>9999</partnerID>
<email>johnsmith@xyz.com</email>
</securityContext>
</header>
<body>
<bodyContent
xsi:type="java:com.webex.service.binding.attendee.LstMeetingAttendee">
<meetingKey>82679427</meetingKey>
</bodyContent>
</body>
</serv:message>
(Of cource I repalce the partnerId and siteId with sitaName) I have two questions: 1.I request with this xml api to https://siteName.webex.com/WBXService/XMLService; Only got the attendees which had been invited by mail even though they had not attended my meeting.But couldn't get the attendees which had attended my meeting by click the meeting url. How can I get the attendees attending my meeting by clicking the meeting url?
2. As you know,the meetingKey is changeless and static to a specific user.but a user is able to host not only one meeting in a while. Could I get a specific meeting attendees? Whether should I change to another API?
Thanks in advance!
Thanks, Haiyuan Wang.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Guys,
I am trying to run this sample code : https://developer.cisco.com/fileMedia/download/74a70dc3-7a64-449c-af9b-2ae7b7076431
Not sure what site id and partnerID I would need to place here and also not sure from where I can get the Webex username and Webex password? Can someone please help me out so that at least I can run this example code?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That old sample is no longer functional due to changes, try this one:
<?php header("Content-Type: text/xml"); $sitename = "apidemoeu"; //Sitename is the subdomain of a WebEx URL. ex: sitename for https://apidemoeu.webex.com is apidemoeu $username = "username"; $password = "password"; $XML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; $XML .="<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">"; $XML .=" <header>"; $XML .=" <securityContext>"; $XML .=" <webExID>$username</webExID>"; $XML .=" <password>$password</password>"; $XML .=" <siteName>$sitename</siteName>"; $XML .=" <returnAdditionalInfo>TRUE</returnAdditionalInfo>"; $XML .=" </securityContext>"; $XML .=" </header>"; $XML .=" <body>"; $XML .=" <bodyContent xsi:type=\"java:com.webex.service.binding.site.GetSite\">"; $XML .=" </bodyContent>"; $XML .=" </body>"; $XML .="</serv:message>"; $request = stream_context_create(array("http"=>array("method"=>"POST","header"=>"Content-Type:text/xml","content"=>$XML))); $response = file_get_contents("https://$sitename.webex.com/WBXService/XMLService", false, $request); echo $response; ?>
Username/Password are the login credentials used to login to your WebEx Site.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi Ryan,
Thanks for the response. Really appreciate it!
Sorry as I am new to webex devleopment; can you please let me know how I could get my WebEx site and then username/password for the same? I am using sandbox at the moment and I just need to check the sample code at the moment. Later I would need to do a complete integration for my client.
Regards,
VJ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The credentials are the same credentials provided to you for your sandbox, they will be the same credentials that you use in your webbrowser.. Obtaining a site of your own requires interaction with Sales, if you signup for our Gold Developer Program (GDP) then they will provide you with your own site, on our test cluster, with full administrative access.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.