http://schemas.xmlsoap.org/ws/2005/07/securitypolicy的名称空间处理程序需要哪个捆绑软件?我需要它来在CXF组件中配置ws策略。
我的实现是blueprint,我正在RedHat Fuse 6.3上运行。我知道错误bundle is waiting for namespace handlers
通常意味着您错过了实例中的依赖项,但是我找不到此处缺少哪个捆绑软件。
我安装了以下cxf功能:
JBossFuse:admin@s42http1> features:list | grep cxf
[uninstalled] [2.1.0.redhat-630343 ] switchyard-camel-cxf switchyard-2.1.0.redhat-630343
[uninstalled] [2.1.0.redhat-630343 ] switchyard-quickstart-camel-cxf-binding switchyard-2.1.0.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-specs cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-jaxb cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-abdera cxf-3.1.5.redhat-630343
[installed ] [2.1.7 ] wss4j cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-core cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-commands cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-wsdl cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-ws-policy cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-ws-addr cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-ws-rm cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-ws-mex cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-ws-security cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-rt-security cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-rt-security-saml cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-http-client cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-http cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-http-jetty cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-http-async cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-http-netty-client cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-http-netty-server cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-bindings-soap cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-jaxws cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-jaxrs cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-xml cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-sso-saml cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-cors cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-oauth cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-jose cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-rs-security-oauth2 cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-rs-description-swagger2 cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-databinding-aegis cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-databinding-jibx cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-databinding-jaxb cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-databinding-xmlbeans cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-features-clustering cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-features-logging cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-features-throttling cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-features-metrics cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-bindings-corba cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-bindings-coloc cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-bindings-object cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-transports-local cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-transports-jms cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-transports-udp cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-transports-websocket-client cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-transports-websocket-server cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-javascript cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-frontend-javascript cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf-xjc-runtime cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-tools cxf-3.1.5.redhat-630343
[installed ] [3.1.5.redhat-630343 ] cxf cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-sts cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-wsn-api cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-wsn cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-ws-discovery-api cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-ws-discovery cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-bean-validation-core cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-bean-validation cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-management-web cxf-3.1.5.redhat-630343
[uninstalled] [3.1.5.redhat-630343 ] cxf-jaxrs-cdi cxf-3.1.5.redhat-630343
[installed ] [1.2.0.redhat-630343 ] fabric-cxf fabric-1.2.0.redhat-630343
[uninstalled] [1.2.0.redhat-630343 ] fabric-cxf-registry fabric-1.2.0.redhat-630343
[installed ] [2.17.0.redhat-630343 ] camel-cxf camel-2.17.0.redhat-630343
也许有人可以给出提示,说明如何找出缺少的依赖项。一个相关的问题是this one。
答案 0 :(得分:0)
我们通过更改Web服务策略的名称空间解决了该问题。以前我们有以下命名空间
A :
<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
然后我们切换到
B :
<wsp:Policy xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
A 使用Web Service Policy 1.2,而 B 使用Web Service Policy 1.5。 CXF Documentation说,您应该使用Web服务策略1.5。
Web服务策略1.5 -附件标准描述了所有可能的替代方法。
因此版本似乎有问题。