【问题标题】:WS-Security with Apache Camel and Spring-WS使用 Apache Camel 和 Spring-WS 的 WS-Security
【发布时间】:2014-11-20 09:14:11
【问题描述】:

我目前正在用 Camel 编写一个 Web 服务服务器,并且需要实现 WS-Security(加密/签名)。 在其他项目中我使用过 Spring-WS,所以我想我也会使用 Camel 的实现。

我想我只是配置一个 Wss4jSecurityInterceptor,但是当我尝试实现它时,我发现 spring-ws 包中缺少整个 org.springframework.ws.soap.security.* 命名空间。

只有 Apache CXF 才支持 WS-Security 吗?

编辑:这是我设置路线的方式:

from("spring-ws:rootqname:{http://schemas.somewhere.dk/}operation?endpointMapping=#endpointMapping")
.setExchangePattern(ExchangePattern.InOut)
.process(MyProcessor)
.to("jms:queue:test.out");

【问题讨论】:

  • 您能否提供一些有关路线及其配置的信息?

标签: java spring apache-camel spring-ws


【解决方案1】:

我最终发现运行“mvn eclipse:eclipse”搞砸了我的 Eclipse 项目文件,进而导致 Eclipse 无法更新依赖项。 在快速删除/导入现有的 Maven 项目后,事情看起来和预期的一样。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2010-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-10-20
    • 1970-01-01
    相关资源
    最近更新 更多