Hi, I'm been using Axis 1.4 for my webservice, and I would like to override the behaviour when a client sends the service malformed XML or incorrect types etc.
Currently, for example, if I send a string in a number tag, or a malformed date, Axis throws a NumberFormatException or IllegalArgumentException, and all the data is propagated to the client via a SOAP Fault, like the following: FaultCode: soapenv:Server.userException Message: java.lang.IllegalArgumentException: argument type mismatch I would like to hide the raw "java.lang.IllegalArgumentException" kind of message from the user and provide my own faultcode/message in the SOAP Exception, is this possible? Since all of this is done in Axis code prior to reaching my implementation code, I have no way of overriding how these exceptions ought to be handled. Thanks in advance, Ian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
