开发者

Connecting to check a SOAP service is up

I am trying to connect to a SOAP service, that's all fine. But I have been asked to check whether that service is up before connecting, if not, connect to the service on another server.

开发者_开发技巧

Any ideas of how to do this? Thanks in advance.


Is it possible to use Exceptions to handle this? When webservices method can't be called an exception will be thrown and if exception is about connectivity then you can connect to other webservice.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜