Spring WS和UDDI

问题描述:

我有一堆在Spring-WS 1.5.9中实现的Web服务.我们使用Maven进行构建,我们的服务在具有UDDI提供程序的OC4J上运行.

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

我们要做的是内部开始使用UDDi来注册我们的Web服务,以允许业务中的其他组查找和使用它们.

What we want to do is to start using UDDi internally to register our web services to allow other groups in the business to find and use them.

问题是我还没有找到如何将所有这些实际组合在一起的方法.将服务部署到应用程序服务器后,如何获取这些服务以进行自我注册.

The problem is that I've not been able to find how to actually put this all together. How do I get the services to register them selves when they are deployed to the app server.

Spring似乎没有任何支持或注释.似乎没有Maven插件.

Spring doesn't seem to have any support or annotations. There doesn't appear to be a maven plugin.

我已经掌握了所有内容,但是如何将它们整合到一个自动化解决方案中呢?

I've got all the pieces but how do I put these together into an automated solution?

为了提高服务的可发现性,Spring-ws提供了DestinationProvider接口,用于在运行时定位服务的编辑点.您可以使用Wsdl11DestinationProvider类从可用的WSDL中检索端点,也可以通过使用UDDi访问库扩展AbstractCachingDestinationProvider来实现自己的类.

For service discoverability, Spring-ws provides the DestinationProvider interface to locate the edpoint of a service at runtime. You can use the Wsdl11DestinationProvider class to retrieve the endpoint from a WSDL available or you can implement your own class by extending AbstractCachingDestinationProvider using UDDi access libraries.

对于自动发布,我知道 M子星系是一种服务注册表解决方案(不是基于在UDDI上,但在ATOM/REST上),例如,连接器提供了从Maven自动导入工件的功能.

For the automatic publication, I am aware of Mule Galaxy wich is a Service Registry solution (not based on UDDI but on ATOM/REST) that provides connectrs to automatically import artifacts from Maven for example.