Error on SOAP communication "crash" connection client-userver
Author: marco.aquino@dedalus.eu (Marco)
Hi,
I have a problem with calling a web service (via signature) using SOAP 1.0.
Sometimes it happens that it returns error -155 or -150.
If I close and reopen my application, the error disappears.
The structure of my application is:
1) client invoke a uniface service on remote server
2) the uniface service invoke the web service.
The client asn file is:
[PATHS]
$ONSRV TCP:server+13000|user|password|onsrv
[SERVICES_EXEC]
MYSERVICE* $ONSRV:MYSERVICE*
The server asn file is like the client without the section [SERVICE_EXEC]
The entry on the urouter.asn is
onsrv = "c:\\uniface\\bin\\userver.exe" /maxidle=500 /asn="c:\\uniface\\adm\\file.asn" /dir="c:\\uniface\\project"
the uniface code is
newinstance "MYSERVICE", v_handle
v_handle -> OPERATION1(...)
Debugging the server side of application I have noticed that the call from client to server works properly, the call to web service works too but sometimes the response from web service is not coming back but the client have a -155 or -150 value in $procerror and $status.
Since this moment the client receives the same error on calling of the uniface service.
It seems that the connection client-server is "dedicated" and it is impossible for the urouter instantiate another userver for the client even if the older userver is dead.
I activated the log on urouter and I see this:
0:00.000.00 t=6156: URouter started at 27-jan-2012 14:28:25
0:00.006.78 t=6156: started thread to listen to TCP:+13000
44:50.638.43 t=7948: err=-16: Problems receiving request
75:40.854.83 t=3424: err=-16: Problems receiving request
102:51.045.20 t=604: err=-16: Problems receiving request
215:31.491.67 t=5848: err=-16: Problems receiving request
480:55.284.67 t=5972: err=-16: Problems receiving request
649:06.248.27 t=2860: err=-16: Problems receiving request
391:25.675.24 t=7204: err=-16: Problems receiving request
404:52.222.08 t=8004: server is dead: 2
404:52.222.22 t=8004: err=-16: Problems handling request
405:36.309.58 t=8004: server is dead: 2
405:36.309.63 t=8004: err=-25: Problems handling request
405:53.000.92 t=8004: server is dead: 2
405:53.000.97 t=8004: err=-25: Problems handling request
407:13.082.70 t=8004: server is dead: 0
what is "server is dead" ?
why I have "err=-25: Problems handling request" on my component after a problem with SOAP (I think)?
I think that the
err=-16: Problems receiving request
is the origin of the problem, so the follow problems
server is dead: 2
err=-16: Problems handling request
err=-25: Problems handling request
depend from that.
Anyone can help me?
Other info:
Uniface 8405 D504
Windows server 2003
Oracle
Thanks in advance.
Marco




