Does Axis2 provide any features for determining if a service is deployed or not?
I've got a bunch of web services deployed in an Axis2 environment.
From my Java code, I want to find out if a particular web service is deployed or not.
I'm thinking, that one approach would be to try to grab the WSDL, if that is available, then I could assume that the w开发者_StackOverfloweb service is deployed, if its not, then obviously the .aar file is not deployed
Is there a cleaner way of doing this? Or does Axis2 provide any utlities that could achieve the same results?
I believe you need a UDDI registry. Something like JUDDI
A quick google search turns up: this -- which looks a bit old by probably still relevant. Typically "discovery" of a webervice is done via querying a UDDI registry.
1: http://juddi.apache.org/ JUDDI
精彩评论