且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何获取WSO2 Identity Server公开的SOAP服务列表?

更新时间:2023-09-20 18:59:46

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