Hey guys,
I'm dealing with an auto-generated WebService stub in Java (generated using JAX-WS RI).
My actual service is a .Net program exposing its webservice using the WCF basicHttpBinding.
How should I be dealing with Communiction problems during the actual WebService call. (i.e. the way in WCF on the client you would wrap your call with a catch CommunicationException if communication/network problems were encountered).
It seems like there are no checked exceptions for dealing with this.
(When I view the auto-generated stub interface by web service methods don't throw an Exceptions, other then the predefined FaultExceptions/Messages exposed by WSDL).
Also, when I actually tested what would happen during a WebService call if the network was disconnected, the client simply hung on the call, instead of throwing even some sort of runtime exception.
Thoughts?
Thanks