简体   繁体   English

如何调用在WSO2治理注册表中注册的服务?

[英]How to invoke a service registered in WSO2 governance registry?

I have registered a service in wso2 greg. 我已经在wso2 greg中注册了服务。 So do I get a separate URL to invoke that service via greg, so that I can track the service statistics like total invokes, average time taken etc. and export it to wso2 BAM server? 那么,我是否获得一个单独的URL通过greg调用该服务,以便可以跟踪服务统计信息(如总调用次数,平均花费的时间等)并将其导出到wso2 BAM服务器?
Or is there any another way to track service statistics registered on WSO2 greg using WSO2 BAM server? 还是有其他方法可以使用WSO2 BAM服务器跟踪在WSO2 greg上注册的服务统计信息?

I have not tested but this is the theory; 我没有测试过,但这是理论。

As WSO2 G-Reg too is a Carbon based product, you can install the Service Statistics feature as a normal Carbon server. 由于WSO2 G-Reg也是Carbon产品,因此您可以将Service Statistics功能安装为普通的Carbon服务器。 Make sure you use the feature repository with correct version. 确保使用正确版本的功能部件存储库。 If everything works as expected, you should be able to invoke the service from the hosted service URL and should be able to monitor the service with Service statics feature, and send data to BAM. 如果一切都按预期工作,则您应该能够从托管服务URL调用服务,并且应该能够使用服务静态功能监视服务,并将数据发送到BAM。 And also you can use ESB to monitor the hosted service and monitor it inside ESB proxy service. 而且,您还可以使用ESB监视托管服务,并在ESB代理服务中对其进行监视。 For more details refer [1]. 有关更多详细信息,请参见[1]。

[1] http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualizing-results-using-bam/ [1] http://wso2.com/library/articles/2013/07/monitoring-a-web-service-via-esb-analyzing-and-visualization-results-using-bam/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM