This discussion is archived
0 Replies Latest reply: Apr 28, 2013 4:24 AM by shuttle RSS

[OWSM] Cust Fault instead of BEA-386200: General web service security error

shuttle Newbie
Currently Being Moderated
It is possible to change the custom BEA-386200 error message using owsm custom policy?
It does nothing:
result.setStatus(IResult.FAILED);
result.setFault(new WSMException("namespace", "ns", "cool","Server", "damage", null));


Default fault message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>BEA-386200: General web service security error</faultstring>
<detail>
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-386200</con:errorCode>
<con:reason>General web service security error</con:reason>
<con:location>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points