要对 SOA 服务进行开发和协作,最佳做法是使用 IBM® WebSphere® Service Registry and Repository Advanced Lifecycle Edition。但是,也可使用 IBM Rational® Asset Manager 和较低版本的 IBM WebSphere Service Registry and Repository 对作为 SOA 服务的业务资产进行开发和协作。
如果将 Rational Asset Manager 中的社区连接到 WebSphere Service Registry and Repository,那么可以将包含 Web Service 文档和其他业务对象的资产发布到 WebSphere Service Registry and Repository。
如果为连接配置映射文件,那么可以将资产作为业务模型对象发布到 WebSphere Service Registry and Repository;否则,发布到 WebSphere Service Registry and Repository 的资产将作为 WebSphere Service Registry and Repository 中链接到 Rational Asset Manager 中资产的类属概念。
您可以配置 WebSphere Service Registry and Repository 与 Rational Asset Manager 中社区之间的连接以按照调度的时间间隔进行同步。
如果更改 WebSphere Service Registry and Repository 服务器,那么当下次连接同步时,这些更改将反映在 Rational Asset Manager 中的资产中。
如果使用 SOA 模型库随附的映射配置文件,那么下表显示的便是 Rational Asset Manager 中资产映射到 WebSphere Service Registry and Repository 中对象的方式:
| Rational Asset Manager中的资产类型 | WebSphere Service Registry and Repository 中的对象 |
|---|---|
| 业务解决方案 | BusinessCapability 扩展 Asset |
| 业务解决方案归类为 Software Development/Kind/Process | BusinessProcess 扩展 BusinessCapability |
| 业务解决方案归类为 Software Development/Kind/Web Application | BusinessApplication 扩展 BusinessCapability |
| 业务解决方案归类为 Software Development/Kind/Service | BusinessService 扩展 BusinessCapability |
| 发行版 | CapabilityVersion 扩展 Asset |
| 发行版归类为 Software Development/Kind/Process | ProcessVersion 扩展 CapabilityVersion |
| 发行版归类为 Software Development/Kind/Web Application | ApplicationVersion 扩展 CapabilityVersion |
| 发行版归类为 Software Development/Kind/Service | ServiceVersion 扩展 CapabilityVersion |
| 规范归类为 Software Development/Kind/Service/Interface | ServiceInterfaceSpecification 扩展 Asset |
| 规范归类为 Software Development/Kind/Schema | SchemaSpecification 扩展 Asset |
| DoU | DoU |
有关可自动执行的过程的更多信息和示例,请参阅 WebSphere Service Registry and Repository 信息中心中有关同步的主题。
下图显示资产类型及其必需属性以及 SOA 模型库的资产类型之间的关系:
