cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1342
Views
1
Helpful
4
Replies

Can't retrieve session ticket

charles.box
Level 1
Level 1

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!

1 Accepted Solution

Jeff Marshall
Cisco Employee
Cisco Employee

A support ticket was opened for this as well and the issue turned out to be an invalid/expired access token was being used. 

View solution in original post

4 Replies 4

Hi @Helmut Heise , as far as I know Webex XML API only accepts XML as datatype. is that no longer the case?

 

Thanks!

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

Jeff Marshall
Cisco Employee
Cisco Employee

A support ticket was opened for this as well and the issue turned out to be an invalid/expired access token was being used. 

Helmut Heise
Cisco Employee
Cisco Employee

hey Charles, not sure why your XML is not working but have you tried with the json way?