使用 wso2 esb 调用安全的 Web 服务 [英] Invoking secured web services using wso2 esb
问题描述
我正在尝试通过 WSO2 ESB 访问安全的 Web 服务.
I am trying to access secured web services through WSO2 ESB.
我收到来自 Web 服务的请求,使用序列,应用 XSLT 中介,根据需要构造请求以命中端点.我可以通过创建对不安全端点的请求来成功地做到这一点.
I receive a request from a web service, use sequence, apply XSLT mediator, construct the request as needed to hit the endpoint. I can do this successfully by creating a request for unsecured endpoints.
当使用各种安全策略(例如:X509 用户名令牌等)保护端点时,我如何构造请求
How do I construct requests when the endpoints are secured using various security polices (Eg: X509 user name token, etc)
谢谢.
推荐答案
看看这个示例.您需要在端点级别保护传出请求消息.请看这里[1].
Have a look at this sample. You need to secure the outgoing request message at the end point level. Please have a look at here[1].
[1] http://wso2.org/project/esb/java/4.0.3/docs/samples/qos_mediation_samples.html#Sample100
这篇关于使用 wso2 esb 调用安全的 Web 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!