I get this exception because response is soapFault. Is there options how I can get whole xml response from this exception ? I need this because important content of this xml inst in ex.getFaultStringOrReason()
but as comment at the end of this xml
Asked
Active
Viewed 4,614 times
5
1 Answers
6
ex.getSoapFault().getSource()
will give you a Source
which you can then inspect manually or marshall.
(e.g. with TransformerFactory.newInstance().newTransformer().transform(source, new StringResult()
then call toString()
on the StringResult)

artbristol
- 32,010
- 5
- 70
- 103
-
i am not able to understand this.. can anyone please explain me? – Chaitanya Uttarwar Nov 10 '17 at 10:43