Hi
I am trying to implement ws-security in web service using metro. I am succeeded to implement it in a simple web service but facing problems in contract-first web service. In a contract-first web service, my
SOAP request message is ok, having information about authentication and encrypted soap body. But i am getting the following error in the soap response message. The client is a
servlet based web service. Please help me how i resolve it.
INFO: Element not understood={http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
INFO: ---[HTTP response 500]---
INFO: <?xml version='1.0' encoding='UTF-8'?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"><faultcode>S: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></S:Fault></S:Body></S:Envelope>
Thanks in advance
Regards