cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1640
Views
5
Helpful
2
Replies

Failed to get SiteUrl

mcruz-iom
Level 1
Level 1

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

nmorrow
Cisco Employee
Cisco Employee

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

nmorrow
Cisco Employee
Cisco Employee

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.

@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.