I call a webservice from my code and I encountered a problem when the webservice I call is not accessable (e.g. wrong configuration/firewall problem ...).
Currently I get a exception after a 'long time' (about 3 minutes).
But after this time MY CLIENT already got ITS timeout (30 seconds).
The idea was to decrease the 3-minute timeout.
with the property "weblogic.wsee.transport.connection.timeout".
But I have a problem to set the property.
Basically I do three steps:
line 1: PgiServiceActionService_Impl service =
line 2: PgiServiceAction service_action = service.getPgiService();
line 3: service_action.pgiServiceRequest(req);
I already get the the timeout in line 1. How can I avoid to wait 3 minutes until I get the exception ?
I found the solution to my problem. I do now:
PgiServiceActionService_Impl service = new PgiServiceActionService_Impl();
PgiServiceAction service_action = service.getPgiService();