Hi All, I am new to Webservice and i am not trying to lookup for a web service, that is hosted on a remote server. I have created a SOAP request and am trying to access the Web Service. My Question is, Whenever the Web service-hosted server is down, i want to log the request data as an XML file.
Basically i need to handle the Connection Refused exception..
any help/input is most appreciated..
author and deputy
posted 11 years ago
Welcome to Javaranch Manoharan..
You can log this error like anyother error logging style, we have forum on log4j, folks their may help you better.