in Oktober I asked for help on invoking a HTTPS-WebService from within Smalltalk in this thread:
Invoking HTTPS-WebService from VA 7.0?viewtopic.php?f=12&t=2248
Everything worked fine in single user mode but in the meantime our app is used in production environment (heavy multi user) and now invoking the webService randomly leads to a not responding application.
Our App is a TCP/IP based server application runnning as windows service with Java-Clients, using a custom framework for the server part.
As a new requirement on logon of a Java-Client we call the HTTPS-WebService for authentification. This works fine but with multiuser access and heavy load the system fails to asnwer after an unpredictable amount of time. The application refuses to respond to any kind of request and can't even be stopped via windows management console.
My implementation is like this:
pruefeUser: aUser password: aPassword
| service |
self configure ifError: [:error | ^error].
service := self getWebService.
service ifError: [:error | ^error].
The webService is created like this:
| container |
containerNamed: self containerName
container := SstWSContainer createContainerNamed: self containerName.
^container allServices first