Hi,

I have a WSDL file with an exception defined as a complexType. A message based on this exception is also defined, and used in a <fault message=...> field of an operation.

I try to implement the server. I've already read this thread : http://marc.theaimsgroup.com/?l=axis-user&m=103712254801803&w=2 but the conclusion is not clear... If I throw my exception in the server code, then an AxisFault is created, and the client receives a Server.userException, not my Exception (and its fields...) :

<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>MyExceptions.BadRecord</faultstring>
<detail>
...

Is there an easy way to do that ??
(I've tried with Axis1.0 and the CVS sources too).

Thanks a lot,
Olivier

Reply via email to