Accessing faultstring in Axis2 client
Jack Sprat <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <[email protected]> |
I have a simple question - how do I access the SOAP faultcode and faultstring in an Axis2 client?
The client code calls the web service operation and returns the response or throws an exception:
try {
stub.getPublication(pub, auth);
}
catch (WebServiceException wse) {
wse.printStackTrace();
}
I need to get the text in the <faultstring> element. How do I do that?
Many thanks.
J