You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by rafiqy <yr...@yahoo.co.uk> on 2011/04/28 16:05:51 UTC

using multiple wsdl files - one client application

Could someone please help/advice me how I can create a java class that
manages the web services - basically I have two web services that both
exploit the same method "Add" and I have created wsdl files and then
executing WSDL2Java I have created two separate clients ...now I want to
just have one client which swaps between the two services ....for example, I
have two web services Test1 and Test2 and the client application invokes
Test1 but if I disable Test1 service I want my client application to switch
to Test2 ....but I have no clue how to do this and have searched the
internet endlessly but no solution found ....please help :(

Many Thanks
-- 
View this message in context: http://old.nabble.com/using-multiple-wsdl-files---one-client-application-tp31496842p31496842.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


AW: using multiple wsdl files - one client application

Posted by Schlarb Sven <sv...@onb.ac.at>.
Hi,
You could use an ESB (Enterprise Service Bus) which can manage alternative Endpoints including failover functionality. 
Have a look at WSO2 ESB, for example, which works well with Axis2:
http://wso2.com/products/enterprise-service-bus/
Regards,
Sven

-----Ursprüngliche Nachricht-----
Von: rafiqy [mailto:yrafiq118@yahoo.co.uk] 
Gesendet: Donnerstag, 28. April 2011 16:06
An: axis-user@ws.apache.org
Betreff: using multiple wsdl files - one client application


Could someone please help/advice me how I can create a java class that manages the web services - basically I have two web services that both exploit the same method "Add" and I have created wsdl files and then executing WSDL2Java I have created two separate clients ...now I want to just have one client which swaps between the two services ....for example, I have two web services Test1 and Test2 and the client application invokes
Test1 but if I disable Test1 service I want my client application to switch to Test2 ....but I have no clue how to do this and have searched the internet endlessly but no solution found ....please help :(

Many Thanks
--
View this message in context: http://old.nabble.com/using-multiple-wsdl-files---one-client-application-tp31496842p31496842.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org