08-04-2019 07:50 PM - edited 08-04-2019 08:16 PM
I'm trying to connect via XML service using XML API Debug Screen.htm file to debug first the request if it will succeed or not, but unsure why I'm always getting Failed to get SiteUrl error.
Is there something I missed? Added below the sample XML request.
XML Service URL
https://webExSiteURL.my.webex.com/WBXService/XMLService
XML
<?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 http://www.webex.com/schemas/2002/06/service/service.xsd"> <header> <securityContext> <webExID>{webExIDemail}</webExID> <siteName>{webExSiteURL}</siteName> <password>{webExIDpassword}</password> <returnAdditionalInfo>TRUE</returnAdditionalInfo> </securityContext> </header> <body> <bodyContent xsi:type="java:com.webex.service.binding.site.GetSite"> <returnSettings> <eventCenter>true</eventCenter> </returnSetting> </bodyContent> </body> </serv:message>
Response
<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>Failed to get SiteUrl</serv:reason> <serv:gsbStatus>PRIMARY</serv:gsbStatus> <serv:exceptionID>010000</serv:exceptionID> </serv:response> </serv:header> <serv:body> </serv:body> </serv:message>
Solved! Go to Solution.
08-05-2019 09:41 AM
This error just means that the siteName value was incorrect for the XML service URL being used. You should be sure to include the entire subdomain of your Webex site URL, if your site URL is webExSiteURL.my.webex.com, your siteName would be "webExSiteURL.my". Note that *.my.webex.com sites are not officially supported for the developer program, but the API should still work if all variables are correct.
08-05-2019 09:41 AM
This error just means that the siteName value was incorrect for the XML service URL being used. You should be sure to include the entire subdomain of your Webex site URL, if your site URL is webExSiteURL.my.webex.com, your siteName would be "webExSiteURL.my". Note that *.my.webex.com sites are not officially supported for the developer program, but the API should still work if all variables are correct.
08-05-2019 07:48 PM
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