wso2 governance registry - client looks up service and call service

谁说胖子不能爱 提交于 2019-12-06 13:32:22

问题


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.

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?

Many thanks...


回答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



来源:https://stackoverflow.com/questions/16993815/wso2-governance-registry-client-looks-up-service-and-call-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!