i'm coding a web service and i do have a SOAP fault.
i read in apache's soap doc for troubleshooting this indication about my error :
"The detailed problem may be indicated within the <stackTrace> element found inside the <detail> element of the <SOAP:Fault> that was returned with the SOAP response envelope."
the problem is that i don't know how to get this stackTrace here is the fault detection code i have :
if(!response.generatedFault())
{
Parameter result = response.getReturnValue(); // response was OK
System.out.println("Result= "+ result.getValue());
}
else {
Fault f = response.getFault(); // an error occured
System.err.println("Fault= " + f.getFaultCode() + ", " + f.getFaultString());
}
what kind of code should i put to get more details as described in soap documentation ?
regards
elise
--------------------------------------------
Lionbridge Technologies - France
www.lionbridge.com
