Its an interesting issue.
Our webMethods server is consuming 1 of 2 WSDL’s which perfomr the same operation.
The 2 wsdls are used in a fail over manner.
The code is written in such a way that we explicitly invoke 1 of the 2 wsdls via configurations passed.
The issue we face is when 1 of the wsdls goes down we need to manually go and change the wsdl URL on the config side of wM Server.
What I want to do is have a Switching mechanism which tests if a WSDL is up, in case its down it moves onto the next wsdl for invokation. All this we need to do programatically.
I havent found a mechanism where we can test if a wsdl connectivity is up prior to invoking the WSDL URL.
I have 1 idea but want to know all your suggestions on the same.