Hi, I'm still fighting with fault generation... can anybody give me a
pointer where to get some examples or some information about this?
in a service that I'm exposing, I'm trying to do
SoapFault fault = new SoapFault(message, SoapFault.FAULT_CODE_CLIENT);
throw fault;
but it always end in ...
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>Message is OK</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
I'm expecting to produce a Client Fault but soap:Server is returned.
I'm using a jaxws:endpoint
--
David Castañeda R.