Code snippet :
Create server hnwebservice.
If not hnWebservice:connected() then
Run myproc at procHandle in hnWebservice
I have to process some stuff here. Unfortunately this is how the approach is.
IF valid-handle( hnwebservice) and valid-handle(procHandle) THEN
Run myprocedure in hnwebservice no-error .
I get an error Soap process request error: Error receiving Web Service Response : Fatal Error : csnet read operation failed ( Broken pipe) ( 11773) ] .
So, though the valid-handle returns true – Should I still check one more time for hnWebservice:connected() ?
Thanks in advance
a broken pipe error means that whatever program is at the other end of the pipe has either died or closed the connection.
there may be error messages on the other side in a log someplace.
Thanks for your response. Before calling
Run myprocedure in hnwebservice no-error - I do check if the web-service is connected or not -
If not hnWebservice:connected() then - this is returning "true" . If the connection is broken shouldn't it return false ?
the broken pipe means the connection was terminated on the other end.
could be that the broken pipe occurred because the process at the other end crashed. check log files.