06-05-2018 01:53 PM
Everything leads to 404 Pages. I can't find any documentation.
Can someone point me in the right direction please?
Solved! Go to Solution.
06-08-2018 11:13 AM
Thank you for providing the exact link that is failing, it makes more sense now. The link to that file is broken and I am able to duplicate that 404. You can use the following PHP code as a minimalist example of sending a XML document to the XML Service and displaying the response data.
<?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;
?>
06-08-2018 08:18 AM
I'm still getting a 404, error
https://developer.cisco.com/site/webex-developer/develop-test/xml-api/sample-code/
to:
results in:
06-08-2018 11:13 AM
Thank you for providing the exact link that is failing, it makes more sense now. The link to that file is broken and I am able to duplicate that 404. You can use the following PHP code as a minimalist example of sending a XML document to the XML Service and displaying the response data.
<?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;
?>
06-05-2018 03:55 PM
Meetings API documentation can be found by browsing to http://www.webexdeveloper.com and following the drop down menus from Develop & Test to XML API, then XML API Reference or Sample Code. I am able to browse to these pages outside of the Cisco network currently. If you continue to experience 404s, please clear your browser cache and try again. If still failing, you may also want to try clearing your cookies. If you still have an issue, you will want to start troubleshooting probable network communication issues, such as bad proxy or firewall rules, or network outage.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide