我应该如何让其他人动态查找 Web 服务?
我已经为此奋斗了一段时间了。我需要制作 SOA 原型,以及注册表。我一直在 JBoss SOA Platform 5 上摆弄 jUDDIv3,但似乎没有任何工具允许我发布到 v3 jUDDI 注册表。请参阅我的相关问题此处和
在阅读了对这些问题的评论以及互联网上的一些文章(例如 这个)UDDI正在失败或死亡,但是我的组织有一些我们需要使用的遗留技术。
此外,我的主管(我是实习生)坚决遵守标准。原则上,我同意这一点,但如果没有人使用,一个死标准也许真的算不上什么标准。
简而言之,我需要提供面向服务的架构的注册表组件。它可能需要是 UDDI,以便它适合传统技术并满足标准。无论采用什么解决方案,如果有可用的工具允许我将 Web 服务发布到该注册表,那就最好了。
这个问题拖延的时间比我希望的要长得多。任何小建议都非常感激。
I have been fighting with this for a while now. I need to prototype SOA, and with it, the registry. I have been fiddling with jUDDIv3 on JBoss SOA Platform 5, but there don't appear to be any tools that allow me to publish to a v3 jUDDI registry. See my related questions here and here.
I realize after reading comments on those questions, and some articles on the internet (like this one) that UDDI is failing or dead, however my organization has some legacy tech we need to work with.
Also, my supervisor (I'm an intern) is adamant about sticking to standards. In principle, I agree with this, but perhaps a dead standard really isn't a much of a standard if nobody uses it.
In short, I need to provide the registry component of Service Oriented Architecture. It probably needs to be UDDI, so that it fits with the legacy tech, and satisfies the standard. Whatever the solution, it would be best if there were tools available that allow me to publish web services to that registry.
This problem has dragged on much longer than I would have liked. Any small piece of advice is really appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 WS-Discovery。 WS-Discovery 是用于发现服务和服务端点的标准协议。这使得服务客户端能够根据给定标准搜索服务并与发现的服务绑定。 WS-Discovery 有两种模式,
ad-hoc - 服务器使用 UDP 多播协议通告它们拥有的服务
托管模式 - 服务器和客户端使用称为发现代理的中介来实现所有服务发现目的。
您可以简单地使用 WSO2 平台(在 apache2 许可证下免费且开源)尝试一下。请按照[1]查看托管模式下 WS-Discovery 的简单场景。
[1] http://charithaka.blogspot.com/ 2010/04/ws-discovery-with-wso2-carbon.html
You may use WS-Discovery. WS-Discovery is a standard protocol for discovering services and service endpoints. This enables service clients to search for services based on a given criteria and bind with the discovered services. There are tow modes of WS-Discovery,
ad-hoc - servers advertise the services they have using a UDP multicast protocol
managed mode - servers and clients use an intermediary known as the discovery proxy for all service discovery purposes.
You can simply try this out with WSO2 Platform (free and open source under apache2 license). Please follow [1] to see a simple scenario of WS-Discovery in managed mode.
[1] http://charithaka.blogspot.com/2010/04/ws-discovery-with-wso2-carbon.html