As stated in the JIRA you raised, the sample itself works fine. So the
issue is that you have modified the sample in some way and it is not
working. It looks like you are using SOAP 1.2 and so you will need to
change the namespace of the encryption + signature parts accordingly.

Colm.


On Thu, Aug 22, 2013 at 1:11 PM, luca76 <[email protected]> wrote:

> Hello, i have test the:
>
> apache-cxf-2.7.6\samples\ws_security\sign_enc
>
> and i have obtain the (post only the last part)exception:
>
> Caused by: org.apache.ws.security.WSSecurityException: General security
> error (WSEncryptBody/WSSignEnvelope: Element to encrypt/sign not found:
> http://schemas.xmlsoap.org/soap/envelope/, Body)
> at
>
> org.apache.ws.security.message.WSSecSignatureBase.addReferencesToSign(WSSecSignatureBase.java:160)
> ... 25 more
>
> but with:
>       apache-cxf-2.3.3\samples\ws_security\sign_enc, the server started
> correctly.
>
> somebody can hel me?
>
> Thank you!
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/cxf-2-7-6-server-start-problem-whit-sign-enc-tp5732885.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to