cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

If your Cloud Collaboration question is not answered quickly, please email devsupport@webex.com for additional help

476
Views
5
Helpful
2
Replies
Highlighted
Beginner

Failed to get SiteUrl

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>
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Failed to get SiteUrl

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.

View solution in original post

2 REPLIES 2
Cisco Employee

Re: Failed to get SiteUrl

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.

View solution in original post

Beginner

Re: Failed to get SiteUrl

@nmorrow
OMG! It works! I've spent almost 3 days trying to figure out what the problem is. I've even almost ended up using the WebEx URL API and started reading the documentation. Thanks for this! It saves me a lot of time.
CreatePlease to create content
Content for Community-Ad
FusionCharts will render here
This widget could not be displayed.