04-11-2022 02:24 PM
I have tried posting the following to https://api.webex.com/WBXService/XMLService
Tried this:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<siteName>{{site_name}}</siteName>
<email>does-not-matter</email>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.user.AuthenticateUser">
<accessToken>{{auth_token}}</accessToken>
</bodyContent>
</body>
</serv:message>
and this variant:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<siteName>{{site_name}}</siteName>
<webExID>{{webex_id}}</webExID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.user.AuthenticateUser">
<accessToken>{{auth_token}}</accessToken>
</bodyContent>
</body>
</serv:message>
Where site_name is a linked webex site and webEx_id is the admin email minus the @ domain portion.
All fail. I am using our auth token we use for control hub REST requests and have tried 3 different site names that are inked to control hub. All fail with:
<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:use="http://www.webex.com/schemas/2002/06/service/user">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>Authentication Server can't generate a valid session ticket</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>030048</serv:exceptionID>
<serv:subErrors>
<serv:subError>
<serv:exceptionID>AS0001</serv:exceptionID>
<serv:reason>authentication service error</serv:reason>
<serv:value></serv:value>
</serv:subError>
</serv:subErrors>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message>
Trying to get a session ticket to make XML Meeting API requests.
Thanks!
Solved! Go to Solution.
04-13-2022 07:41 AM
A support ticket was opened for this as well and the issue turned out to be an invalid/expired access token was being used.
04-13-2022 07:59 AM
Hi @Helmut Heise , as far as I know Webex XML API only accepts XML as datatype. is that no longer the case?
Thanks!
04-13-2022 11:03 AM
Hey Antonio,
we have both flavors, please refer to this example https://community.cisco.com/t5/blogs/agenda-una-reunion-con-api-rest-de-webex/ba-p/4579777
04-13-2022 07:41 AM
A support ticket was opened for this as well and the issue turned out to be an invalid/expired access token was being used.
04-12-2022 02:16 PM
hey Charles, not sure why your XML is not working but have you tried with the json way?
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