cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
1
Helpful
2
Replies

What is Webex XML demo site?

Zhangatcisco
Level 1
Level 1

Hi,

I used the "XML API Debug Screen" code here: Cisco WebEx Developer

I used the php sample code here too. I coded into the "XML API Debug Screen" code with the php login information. See the attached file.


I entered "apidemoeu" to get to "apidemoeu.webex.com".

I got this XML response below. Can you please advise?nmorrow

<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:bodyContent/>

</serv:body>

</serv:message>

2 Replies 2

Zhangatcisco
Level 1
Level 1

Incidentally, https://apidemoeu.webex.com/WBXService/XMLService does seem to be working. And it returns:

<message xmlns="http://www.webex.com/schemas/2002/06/service">

<header>

<response>

<result>SUCCESS</result>

<reason>

: WebEx XML API V7.4.0, WebEx XML API V7.3.0, WebEx XML API V8.0.0

</reason>

</response>

</header>

<body>

<bodyContent/>

</body>

</message>

Hello,

     This is due to incorrect site ID in the security context. The correct site ID for apidemoeu.webex.com is 690319. A better solution would be to remove site id and partner id from the security context all together, and replace them with siteName, which would be the subdomain of the POST URL, apidemoeu in this case, <siteName>apidemoeu</siteName>.