Then I think you need to subclass AxisFault so you can set the fault code.
> -----Original Message----- > From: Marco Spinetti [mailto:[EMAIL PROTECTED] > Sent: Friday, August 29, 2003 7:43 AM > To: [EMAIL PROTECTED] > Subject: Fault Code > > > I've a question about axis fault management. > > If my exception extends Remote Exception ( and not > AxisFault), in my web > service method I'm able to throw my exception, which is received from > the client (both java and perl). > > I have noticed that my exception is inserted as fault details in the > SOAP message. > > The problem is that Axis sets the faultcode to > soapenv:Server.userException but this is a error. > > I create this error when client sends wrong parameters too, so the > faultcode should be Client and not Server. > > How can I tell Axis to set Client and Server in faultcode? > > Thanks > > > --Marco > > >
