2014-07-15 11 views
0

與CXF-STS工作我遇到的異常之際,<<||2014-07-14 21:51:14,125||http-apr-8080-exec-8|DEBUG|org.apache.ws.security.processor.Signat‌​ureProcessor:428||||>> XML Signature verification has failed <<||2014-07-14 21:51:14,127||http-apr-8080-exec-8|DEBUG|org.apache.ws.security.processor.Signat‌​ureProcessor:431||||>> Signature Validation check: falseCXF 3.0.0提高org.apache.cxf.BusException:沒有DestinationFactory的被發現的命名空間http://schemas.xmlsoap.org/soap/http

正如在帖子中所討論的那樣,CXF STS Usernametoken symmetric binding XML Signature verification has failed https://issues.apache.org/jira/browse/CXF-5679 https://issues.apache.org/jira/browse/CXF-5679 因此,假設它已被固定爲版本3.0.0我搬到了它。現在開始我面臨的錯誤爲

... 25 more 
Caused by: org.apache.cxf.service.factory.ServiceConstructionException 
    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:176) 
    at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211) 
    at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:456) 
    at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334) 
    ... 34 more 
Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http. 
    at org.apache.cxf.bus.managers.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:122) 
    at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:88) 
    at org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:72) 
    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:160) 

我無法弄清楚我怎麼能真正與CXF STS的例子。請提供一些很好的例子,在參考同的UsernameToken CXF STS合作與加密方案是具有包含CXF 2.7嵌入式駱駝CXF依賴

感謝

回答

0

這是監守我的項目。它可能會與新的CXF 3.0.0版本產生衝突。因此,將它們從類路徑中移除可解決問題

謝謝

相關問題