Author Message
AdiletKabylbekov
Joined: Nov 13, 2013
Messages: 12
Offline
Hi everybody!



I use SMS web service for get acces to CM coommand.

For simple testing i use https://host/smsxml/smsxml_test.php test application, but when i try to send request message i have got error below:

[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Deserializing modelChoices
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: SOAP_WebService instantiated
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: XMLConverter instantiated
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: ListHistoryModel CTOR
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Constructing model
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Enabling 'list' model features
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Establishing OSSI connector
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_INFO: Thu Dec 26 15:59:10 2013: history model acquiring read-only connection
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Connecting to proxy for host 172.28.137.4:5022 at localhost:4102
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:10 2013: Connecting to proxy for host 172.28.137.4:5022 at localhost:4102
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_INFO: Thu Dec 26 15:59:10 2013: Launching OSSI connector proxy with cmd: /opt/mvap/web/sms-bin/ossicm -h172.28.137.4 -p5022 -l4102 -d/opt/mvap/web/sms/templates_c/ -s -n
[Thu Dec 26 15:59:10 2013] [error] [client 172.28.137.19] PHP_INFO: Thu Dec 26 15:59:10 2013: OSSI Connector proxy execution returned:
[Thu Dec 26 15:59:12 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:12 2013: Sending to proxy: r0e18e6f8db4294a8a63534d5290b3440SMS\tdadmin\t********\t\t172.28.137.4\t5022
[Thu Dec 26 15:59:12 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:12 2013: Waiting for connector handshaking response
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_WARNING: Thu Dec 26 15:59:22 2013: Socket read timed out
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: Closing Socket Connection to ossicm
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: Response Received:
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: Closing Socket
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: OSSI Connector Failed with params: array (\n 'Host' => 'localhost',\n 'Port' => '4101',\n 'Login' => 'dadmin',\n 'Writable' => false,\n 'SocketFailure' => NULL,\n 'OSSIFailure' => false,\n 'LogonRequired' => false,\n 'ServerStatus' => 'active',\n)
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_ERR: Thu Dec 26 15:59:22 2013: Connection could not be established for list history operation.
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: ==========> OSSIConnector::dtor() invoked; disconnecting
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.137.19] PHP_DEBUG: Thu Dec 26 15:59:22 2013: OSSI Connector Failed with params: array (\n 'TimeoutFailue' => true,\n)
[Thu Dec 26 15:59:22 2013] [error] [client 172.28.151.49] PHP Notice: Undefined variable: save_result in /opt/mvap/web/sms/include/SMS_XMLTestController.class.php on line 401, referer: https://172.28.137.19/smsxml/smsxml_test.php



Does anybody know about this error?
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
If your CM has been around a while there could be hundreds of pages of history, and 10 seconds is not enough time to get all the results returned to SMS. Try using a qualifier of 'date MM/DD', and see if you get a response.
Ahmadqadri
Joined: Oct 8, 2018
Messages: 54
Offline
If your CM has been around a while there could be hundreds of pages of history, and 10 seconds is not enough time to get all the results returned to SMS. Try using a qualifier of 'date MM/DD', and see if you get a response.


Where can I define the qualifier 'date MM/DD'? Im facing the same issue. I tried retrieving the status of an extension but failed.
MichaelHerman2
Joined: Jan 9, 2014
Messages: 102
Offline
See attached example pic (taken from the AES SMS test page).

Record from AES SMS test page:

[Request1]
method=submitRequest
login=interop@10.64.150.88
password=xxxxx
return=result
[parameters1]
modelFields=<?xml version="1.0"?> <modelFields> <ListHistory/> </modelFields>
operation=list
objectname=
qualifier=date 04/17
[result1]
result_code=0
result_data=<?xml version="1.0"?> <result_data><ListHistory><Date>4/17</Date><Time>14:51</Time><Port>MAINT</Port><Login>interop</Login><Action>logn</Action><Object/><Qualifier/></ListHistory><ListHistory><Date>4/17</Date><Time>14:51</Time><Port>MAINT</Port><Login>interop</Login><Action>logn</Action><Object/><Qualifier/></ListHistory><ListHistory><Date>4/17</Date><Time>11:26</Time><Port>MAINT</Port><Login>interop</Login><Action>logf</Action><Object/><Qualifier/></ListHistory><ListHistory><Date>4/17</Date><Time>11:26</Time><Port>MAINT</Port><Login>interop</Login><Action>clea</Action><Object>mst</Object><Qualifier/></ListHistory><ListHistory><Date>4/17</Date><Time>11:25</Time><Port>MAINT</Port><Login>interop</Login><Action>clea</Action><Object>mst</Object><Qualifier/></ListHistory><ListHistory><Date>4/17</Date><Time>11:25</Time><Port>MAINT</Port><Login>interop</Login><Action>logn</Action><Object/><Qualifier/></ListHistory></result_data>
message_text=



SOAP request seen in log file:

<131>Apr 17 14:52:33 aes15087 httpd[28405]: -06:00 2019 513 1 com.avaya.aes | [:error] [pid 28405] [client 10.64.150.87:51710] PHP: Wed Apr 17 20:52:33 2019: Request: \n<?xml version="1.0" encoding="UTF-8"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://xml.avaya.com/ws/SystemManagementService/2008/07/01" xmlns:ns2="http://xml.avaya.com/ws/session"><SOAP-ENV:Header><ns2:sessionID SOAP-ENV:mustUnderstand="1" SOAP-ENV:actor="http://schemas.xmlsoap.org/soap/actor/next">4b0fd3563f1afdcf60b4b7161ae05061</ns2:sessionID></SOAP-ENV:Header><SOAP-ENV:Body><ns1:submitRequest><modelFields><ListHistory/></modelFields><operation>list</operation><objectname></objectname><qualifier>date 04/17</qualifier></ns1:submitRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>\n
  • [Thumb - RequestParameters.PNG]
[Disk] Download
Go to:   
Mobile view