when you create a web service on the WebSphere Application Server and try to call the webservice from any other component on the server sometimes you can encounter the following error
Code:
UserException E WSWS3228E: Error: Exceptio
n: WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}MustUnderstand
faultString: WSWS3173E: Error: Did not understand "MustUnderstand" header(s):{h
ttp://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
}Security
faultActor: null
faultDetail:
WSWS3173E: Error: Did not understand "MustUnderstand" header(s):{http://docs.oas
is-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at com.ibm.ws.webservices.engine.xmlsoap.builders.WebServicesFaultProces
sor.createFault(WebServicesFaultProcessor.java:415)
at com.ibm.ws.webservices.engine.xmlsoap.SOAPFault.getFault(SOAPFault.ja
va:486)
The reason for this error is that the caller of the webservice have define security tokens to be provided to the webservice while the webservice creator himself did not configure the webservice to accept security tokens and that is why it does not understand the security parts of the message.
The solution for this is to define the security tokens in the webservices.xml and also the token consumer
Attachment:
Security.JPG
Attachment:
Security2.JPG