Author Message
varad911
Joined: Feb 21, 2018
Messages: 2
Offline
Hi,

I am currently using IPO CTI web service for Instant Messaging in IPO R11.

I am making following POST request to "https://IPO_IP:9443/inyama/service/im" to send a message.

Following body is sent with the request:

<?xml version="1.0" encoding="UTF-8"?>

<ns:IMToSend xmlns:ns="http://openapi.common.avaya.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openapi.common.avaya.com/ im-service.xsd ">
<im>
<from>varad@172.26.26.13</from>
<to>newuser1004@172.26.26.13</to>
<message>hi </message>
</im>
</ns:IMToSend>


In Headers I am setting ClientSessionId and Content-Type as "application/xml"

Following is the error which I get once i hit this request:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<ns2:Error xmlns:ns2="http://openapi.common.avaya.com/" xmlns:ns4="http://groups.system.common.avaya.com" xmlns:ns3="http://www.ecma-international.org/standards/ecma-323/csta/ed4" xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns5="http://schemas.xmlsoap.org/ws/2004/09/transfer" xmlns:ns8="http://com.avaya.inkaba.wstransfer" xmlns:ns7="http://com.avaya.inkaba.dal" xmlns:ns13="http://ccragent.common.avaya.com/" xmlns:ns9="http://com.avaya.common.csta.extended" xmlns:ns12="http://voicemail.avaya.com/" xmlns:ns11="http://voicemail.common.avaya.com/" xmlns:ns10="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns17="http://www.avaya.com/common/RESTAPI/telephony/call" xmlns:ns16="http://voicemailpro.common.avaya.com/" xmlns:ns15="http://conferencing.avaya.com/" xmlns:ns14="http://conferencing.common.avaya.com/" xmlns:ns19="http://recording.common.avaya.com/" xmlns:ns18="http://calllog.common.avaya.com/">
[color=red]<errorCode>SERVER_PROBLEM</errorCode>
<errorValue>java.lang.Exception</errorValue>
<description>.sendMessage. chat session not found for the appl session applicationSessionID : 5c894975-5b57-416c-ae44-bfb3f9c60b7c</description>[/color]
</ns2:Error>


I am able to obtain ClientSessionId through "Login & Subscription" api of CTI web service.

This problem occurs only with Instant Messaging service as I got the same response for "Presence Service" api.

Thanks



WernerStein
Joined: Jan 10, 2018
Messages: 24
Offline
Hello varad,

Sorry, this forum is for IPO Contact Center Web Service Collection retated topics only.

If you need support for other IPO SDKs please raise a IPO support ticket:

https://www.devconnectprogram.com/site/global/products_resources/ip_office/overview/index.gsp

Regards
Werner
Go to:   
Mobile view