Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 使用ApacheCamel和SpringWS的WS-Security_Java_Spring_Apache Camel_Spring Ws - Fatal编程技术网

Java 使用ApacheCamel和SpringWS的WS-Security

Java 使用ApacheCamel和SpringWS的WS-Security,java,spring,apache-camel,spring-ws,Java,Spring,Apache Camel,Spring Ws,我目前正在用Camel编写一个webservice服务器,需要实现WS-Security(加密/签名)。 在其他项目中,我使用了SpringWS,所以我想我也应该使用Camel的实现 我想我应该只配置一个Wss4jSecurityInterceptor,但是当我尝试实现它时,我发现SpringWS包中缺少整个org.springframework.ws.soap.security.*名称空间 WS-Security是否仅支持Apache CXF 编辑:以下是我如何设置路线的: from("spr

我目前正在用Camel编写一个webservice服务器,需要实现WS-Security(加密/签名)。 在其他项目中,我使用了SpringWS,所以我想我也应该使用Camel的实现

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

WS-Security是否仅支持Apache CXF

编辑:以下是我如何设置路线的:

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

我最终发现运行“mvneclipse:eclipse”弄乱了我的eclipse项目文件,这反过来又导致eclipse不更新依赖项。
在快速删除/导入现有maven项目后,情况看起来与预期一样。

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