You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Vikram Rajan <Vi...@PLANETASIA.COM> on 2001/09/10 11:13:42 UTC

Exception handling

Doesnt Apache SOAP toolkit handle application-level exceptions?

i.e., if I have a method with the following signature:

public User getUserDetails(String id) throws UnknownUserException

and the UnknownUserException is thrown by the method, shouldn't this
exception be wrapped into a Fault object and sent across to the client? ...
doesnt seem to be happening. All I get is a "null".

Am using Apache SOAP 2.1 with Weblogic. 

any ideas? am i missing something?

- vikram rajan