Yes, you replay it is correct because, I have made this change:
this code(soap11): private static final String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; outProps.put("encryptionParts", "{Element}{" + WSU_NS + "}Timestamp;" + "{Content}{http://schemas.xmlsoap.org/soap/envelope/}Body"); outProps.put("signatureParts", "{Element}{" + WSU_NS + "}Timestamp;" + "{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body"); whith(soap12): private static final String WSU_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; outProps.put("encryptionParts", "{Element}{" + WSU_NS + "}Timestamp;" + "{Content}{http://www.w3.org/2003/05/soap-envelope}Body"); outProps.put("signatureParts", "{Element}{" + WSU_NS + "}Timestamp;" + "{Element}{http://www.w3.org/2003/05/soap-envelope}Body"); But i have this warning: WARNING: Interceptor for {http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01}Discovery#{http://cxf.apache.org/jaxws/provider}invoke has thrown exception, unwinding now org.apache.cxf.binding.soap.SoapFault: MustUnderstand headers: [{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security] are not understood. at org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor$MustUnderstandEndingInterceptor.handleMessage(MustUnderstandInterceptor.java:281) at org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor$MustUnderstandEndingInterceptor.handleMessage(MustUnderstandInterceptor.java:259) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) at org.apache.cxf.transport.udp.UDPDestination$MCastListener$2.run(UDPDestination.java:106) at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$3.run(AutomaticWorkQueueImpl.java:428) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$1.run(AutomaticWorkQueueImpl.java:353) at java.lang.Thread.run(Unknown Source) But the problem is that i have copy e past the sample sign_enc, and the libraries of cxf 2.3.3 ,whith the version 2.3.3 not prolem, the client e server handshake correttly. But,... If I change simply the libraries(use the libraries of cxf 2.7.6), whit same project(sample sign_enc by cxf 2.3.3), I have the problem over posted. I use: apache-tomcat-7.0.30-windows-x64 jdk 1.7 eclipse-jee-juno-win32-x86_64 post my configuration: <http://cxf.547215.n5.nabble.com/file/n5732888/Immagine.jpg> thank you! -- View this message in context: http://cxf.547215.n5.nabble.com/cxf-2-7-6-server-start-problem-whit-sign-enc-tp5732885p5732888.html Sent from the cxf-user mailing list archive at Nabble.com.
