Hello everybody,
I am new in CXF but I have a rather good practice in Axis2 (and in Metro
over Tomcat).
I developed a Sping-based CXF secure web service using wsdl-first mode. The
ws-policy applied is symmetric binding and only signature is declared. The
wsdl and the cxf-servlet.xml are attached.
Testing my service the client program is failed with a very tricky message:
"Could not find Reference #_5004 under Signature with ID_1". Using the tcp
monitor trace I stated the "#_5004" identifies the response-body to be
signed. The trace shows an almost complete response; the timestamp and the
body are referenced for signing, the signature is generated, etc.
But the body of the response contains a fault message:
<faultcode>soap:MustUnderstand</faultcode>
<faultstring>MustUnderstand headers:
[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security]
are not understood.</faultstring>
The server (before generating the soap-fault) gives a warning:
WARNING: Interceptor for
{http://test.sztaki.hu}Echo#{http://test.sztaki.hu}echo has thrown
exception, unwinding now
What is wrong in my code or what should I modify in my program?
Any help is highly appreciated!
A.
http://old.nabble.com/file/p27747263/Echo.wsdl Echo.wsdl
http://old.nabble.com/file/p27747263/cxf-servlet.xml cxf-servlet.xml
--
View this message in context:
http://old.nabble.com/%22MustUnderstand-headers%3A%22-tp27747263p27747263.html
Sent from the cxf-user mailing list archive at Nabble.com.