I've created an eventchannel and XSP server responds with a channelId. But when I try to send a heartheartbeat I get a 404 Not Found in return.
I've tried testing different users, testing with admin user (unauthorized), changing ChannelSetId and used the "default" ChannelSetA per example in the XSI documentation.
EventChannel Request
POST /com.broadsoft.async/com.broadsoft.xsi-events/v2.0/channel HTTP/1.1
Request Body:
<?xml version="1.0" encoding="utf-16"?>
<Channel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schema.broadsoft.com/xsi">
<channelSetId>Set-01b6a5e0-4483-45c9-9f4b-7e0afe16a068</channelSetId>
<priority>1</priority>
<weight>50</weight>
<expires>3600</expires>
</Channel>
EventChannel Response
Status 200 OK
Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Channel xmlns="http://schema.broadsoft.com/xsi">
<channelId>970411ad-1945-41fc-864f-c9de08c1890d</channelId>
<expires>3600</expires>
</Channel>
HeartBeat Request
PUT /com.broadsoft.xsi-events/v2.0/channel/970411ad-1945-41fc-864f-c9de08c1890d/heartbeat HTTP/1.1
Host: broadsoftsandboxxsp.cisco.com
Content-Type: application/xml; charset=UTF-8
Authorization: Basic MyBasicAuth=
NO Request Body
HeartBeat Response
Status 404 Not Found
Response Body:
<?xml version="1.0" encoding="UTF-8"?>
<ErrorInfo xmlns="http://schema.broadsoft.com/xsi">
<summary>Channel 970411ad-1945-41fc-864f-c9de08c1890d does not exist on this system</summary>
<summaryEnglish>Channel 970411ad-1945-41fc-864f-c9de08c1890d does not exist on this system</summaryEnglish>
<errorCode>1201</errorCode>
</ErrorInfo>
The problem looks very much like @aluxmore issue posted here:
https://community.cisco.com/t5/cloud-calling/sandbox-xsi-events-subscription-not-found/m-p/4010660
Any help is appreciated.