Hi All,I have created LotusScript Web Service.
From the client, user calls the web service using MSSoap parameters. This web service in turn connects to the Sybase database, hosted on the server, & returns some values depending on the query passed from the client to the Web Serivce.
Many users are simultaneouly connecting to the Web Service,
However, sometimes many sessions for the http task on the server are created (i dont know the reason for this) & http task gets stuck. This causes client to hang & the control never returns back. the client has to be restarted.
When the users report this problem, the admin person has to forcibly terminate the http task & restart it.
Do we have limitations on how many users can call the web service? If yes, how can I specify the timeout so that the client does not hang & at least the control returns back to the client.
wsdl = “http://servicename?WSDL” queryStr$ = “some query”
'** try to use MSSOAP 3.0, if available
On Error Resume Next
Set client = CreateObject("MSSOAP.SoapClient30")
On Error Goto processError
'** if not, use whatever version is on the workstation
If (Err > 0) Then
Err = 0
Set client = CreateObject("MSSOAP.SoapClient")
End If
Call client.MSSoapInit(wsdl)
res= client.Operation(queryStr$)
the 2nd last line of the code hangs if the http task is stuck