wso2 治理注册表 - 客户端查找服务并调用服务 [英] wso2 governance registry - client looks up service and call service

查看:27
本文介绍了wso2 治理注册表 - 客户端查找服务并调用服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解 Web 服务客户端可能会使用治理注册表来返回实现客户端指定的 wsdl 的服务的端点.

I understand that a web service client may use the governance registry to return an endpoint of a service that implements the wsdl specified by the client.

然后客户端可以使用端点来调用服务.

The client can then use the endpoint to call the service.

这种使用治理注册表的方法的好处是客户端不需要预先知道目标服务的位置.客户端只需要知道 wsdl 和注册服务的位置.这是使用治理注册表的正当理由吗?

The benefit of this approach using the governance registry is that the client does not need to know the location of the destination service up front. The client only needs to know the wsdl and the location of the registry service. Is this a valid reason for using the governance registry?

是否有任何示例代码可以演示我上面描述的用例?

Is there any sample code that demonstrates the use case I have described above?

非常感谢...

推荐答案

是的,这将是使用治理注册表的正当理由,并且您提到的内容可以使用 WSO2 GREG 来完成.看看下面的示例,我认为它应该对您有所帮助[1]

yes that would be an valid reason to use the governance registry and what you have mentioned can be done using the WSO2 GREG. take a look at the following sample i think it should help you[1]

[1] http://docs.wso2.org/wiki/display/Governance452/Endpoint+Look-up+Sample

这篇关于wso2 治理注册表 - 客户端查找服务并调用服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆