如何获取WSO2 Identity Server公开的SOAP服务列表? [英] How do I get the list of SOAP services exposed by WSO2 Identity Server?

查看:103
本文介绍了如何获取WSO2 Identity Server公开的SOAP服务列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始将WSO2 Identity Server看作是我公司目前正在使用的替代产品.

I've recently started looking at WSO2 Identity Server as an alternative to what my company is currently using.

我发现很难确定公开哪些SOAP和REST服务以及它们的URL.

I'm finding it difficult to determine what SOAP and REST services are exposed and what the URLs for those are.

我尝试使用wso2server.bat -DosgiConosle启动服务器(在Windows计算机上),但是启动服务器后似乎无法获得OSGi控制台.

I've tried starting the server (on my Windows machine) with wso2server.bat -DosgiConosle , but I can't seem to get the OSGi console after the server has started.

还有其他方法可以获取产品公开的服务列表吗?

Is there any other way to get the list of services exposed by the product?

此外,我不知道该服务API已被记录并可以使用-是否有计划这样做?

Also, I'm not aware of the service API being documented and made available - Are there plans to do this?

对于获得服务列表的任何帮助或有关操作方法的说明,将不胜感激.

Any help in getting the list of services or an instruction on how to do it would be greatly appreciated.

推荐答案

WSO2产品当前没有文档化的服务API.但是,您可以使用OSGi控制台查看可用的服务组件详细信息.

WSO2 products currently do not have a documented service API. However you can use OSGi console to view the available service components details.

请确保在使用osgi控制台启动WSO2 IS时,以下日志可见,该日志表明控制台已启用.

Make sure that when you start WSO2 IS with osgi console the following log is visible, which says that the console is enabled.

sh wso2server.sh -DosgiConsole 

JAVA_HOME环境变量设置为/jdk1.6.0_30 CARBON_HOME环境变量设置为/wso2is-4.1.0

JAVA_HOME environment variable is set to /jdk1.6.0_30 CARBON_HOME environment variable is set to /wso2is-4.1.0

OSGi控制台已启用,具有以下选项:-console

服务器正常启动后,按Enter键,将显示osgi>控制台.

After server is properly started, press enter and osgi> console will be displayed.

[2013-07-24 16:33:57,215]  INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2 Carbon started in 17 sec
[2013-07-24 16:33:57,437]  INFO {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL  : https://localhost:9443/carbon/

osgi>

通过输入必要的osgi命令,您可以看到已激活的OSGI服务等.例如,如果您需要查看可用服务的使用情况,

By entering necessary osgi commands you can see the activated OSGI service etc. For example if you need to see available services use,

osgi>服务

这将列出运行时中的所有服务.通过引用以下,使用适当的过滤器查找WSO2 IS服务.博客文章.

This will list down all the services in the runtime. Use appropriate filters to find the WSO2 IS services by referring this blog post.

osgi> ls

这将显示所有osgi服务组件以及它们的组件ID和生命周期状态.如果现在需要使用特定的服务组件,请使用ls -c命令.

This shows all the osgi service components along with their component ID and life-cycle status. If you need to now on particular service component use ls -c command.

以下问题线程也具有有关WSO2 IS API的有用信息.

The following question thread has useful information on WSO2 IS API too.

WSO2身份服务器api

这篇关于如何获取WSO2 Identity Server公开的SOAP服务列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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