Spring WS and UDDI

I have a bunch of web services implemented in Spring -WS 1.5.9. We use Maven to complete our builds, our services run on OC4J, which have a UDDI provider.

We want to start using UDDi to register our web services so that other groups in the business can find and use them.

The problem is that I could not find how to actually do all this. How do I get services to register themselves when they are deployed to the application server.

Spring doesn't seem to have support or annotations. There seems to be no maven plugin.

I have all the parts, but how can I combine them into an automatic solution?

+6
java spring maven uddi
source share
3 answers

To detect services, Spring -ws provides a DestinationProvider interface for defining a service access point at runtime. You can use the Wsdl11DestinationProvider class to get the endpoint from the available WSDL, or you can implement your own class by extending AbstractCachingDestinationProvider using the UDDi access libraries.

For automatic publishing, I know Mule Galaxy , which is a registry service solution (not based on UDDI, but ATOM / REST) โ€‹โ€‹that provides connectrs to automatically import artifacts from Maven, for example.

+2
source share

You can use UDDI4J so you can interact with uddi servers :)

0
source share

Check out Apache jUDDI. It has annotations in which you can automate the registration process. I'm not sure what you mean by โ€œinternal useโ€, but can you run the optional launch of a full server in native mode without a web container) or you can run it in Tomcat, Jboss and most other containers.

Example: http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/uddi-annotations/

There are also a number of other solutions, such as WS-Discovery, mDNS, ebXML, etc.

0
source share

All Articles