I think it isnt possible. Let me explain.
Connection to web service <> TCP IP Connection. It is not socket to socket link.
You can disconnect your network adapter, then connect it again and program will work as nothing happens. Why?
Because of soap protocol.
First you read wsdl file and get procedures description and soap endpoints.
Next you send a soap query to WSA. Soap query consists procedure name and input parameters. Wsa reads soap packet and calls something like:
CREATE SERVER asbroker_async.
asbroker_async:CONNECT ("-pf appserv.pf") NO-ERROR. /* connect to appserver */
RUN procedure_name ON SERVER asbroker_async TRANSACTION DISTINCT ASYNCHRONOUS SET hProcedure
EVENT-PROCEDURE "OnEnd" IN hWSAPool. // Run procedure in state-free mode
RUN procedure_name PERSISTENT SET ReturnProcObject_KEY
ON SERVER asbroker_async TRANSACTION DISTINCT ASYNCHRONOUS SET hProcedure
EVENT-PROCEDURE "OnEnd" IN hWSAPool. // Run persistent procedure in state-free mode and create remote (server side) object. Return ProcObject_key to client.
When procedure is done callback function OnEnd gets OUTPUT PARAMETERS. Then WSA converts output parameters to Soap Packet and sends back to Client. If there is no connection to client nothing really happens. I think wsa just sets some flag in this case.
Between wsa and appserver we have TCP - IP connection. Thus DB server see there isnt any connection lost (to wsa) and watchdog isnt disconnect WSA from Appserver and DB.
I dont know what kind of task you are solving but I think it is possible create Persistent object on server side ("CreatePO_procedurename"). It returns PROC Object Key.If you save this key somewhere you can Ping process checking if persistent object still alive. If you lost connection and reconnect you can read saved prockey and then check again if proc object is still alive.
Sorry, my english skill isnt good.