Problem GetTicketsBySearch web services
Problem reported by Emanuele Tomasi - September 27, 2016 at 12:30 AM
Submitted
Hi all,
 
I have a problem with "GetTicketsBySearch" web services function.
 
I use the program "curl" to call web services. I create this file request1.xml
 
<?xml version="1.0" encoding="utf-8"?>
  <soap:Body>
      <authUserName>name.surname</authUserName>
      <authPassword>password</authPassword>
      <searchCriteria>
                        <GroupId>15</GroupId>
                        <IsOpen>true</IsOpen>
             </searchCriteria>
    </GetTicketsBySearch>
  </soap:Body>
</soap:Envelope>
 
And i call it with this command line : 
 
curl -H "Content-Type: text/xml;charset=utf-8" -H "SOAPAction: http://www.smartertools.com/SmarterTrack/Services2/svcTickets.asmx/GetTicketsBySearch" -d @request1.xml http://ticketsystem.its.it/Services2/svcTickets.asmx>reqOUT1.xml
 
I wants all open tickets with groupid 15.
 
Other functions works correctly, but with this function give me this error : 
The following error occurred: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
 
The timeout in Ticketsystem SQL Database is unlimited.

Reply to Thread