I can't locate any simple documentation or examples about how to generate custom exceptions (e.g. if I want user-defined content in the exception e.g. <country>France</country>) or how to get the exception description into my WSDL using java2wsdl. I'm surprised that the samples that ship with Axis 1.2.1 have zero examples (whcih may be an indication that I'm looking for the wrong thing, of course).

So, to get me started in the right direction ... am I correct in thinking that my web service should throw AxisFault (and play about with 'details' or 'subcode'?) rather than Exception or SOAPException or SOAPFaultException?

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to