I am working on a Web Service solution running on WebSphere 5.1. One method of this Webservice throws RemoteException and WSException. WSException is a user-defined exception.
I can see from the SOAP-response(using XML-spy) that the exception is presented in the detail-field in the Fault-object.
WSException extends Exception and implements Serializable.
I have created a JAX-RPC client running this Webservice. This client receives the Exception as a com.ibm.ws.webservices.engine.WebServicesFault. Here is the information from this object: - detail = null - fault actor = null - fault string = no.grmf.webservice.error.WSException - fault code = {http://error.webservice. grmf.no}WSException - fault details = [Lorg.w3c.dom.Element;@da6bf4
My problem is that I don�t find a way to get the WSException and read the ErrorMessage. Is it possible to retrieve this Exception and the ErrorMessage, and if so, how do I do so?