| Author |
Problem in Throwing Exception
|
sreenivas vemula
Ranch Hand
Joined: Jan 21, 2012
Posts: 44
|
|
Hi,
when I am try throw a custom exception say ServiceException I am getting only faultcode and faultstring , but I am not getting detail element.
actual response coming in SOAPUI :
Intended Respone ::
Please help.
Thanks in Advance.
a
Regards,
sreeni.
|
 |
Vijitha Kumara
Bartender
Joined: Mar 24, 2008
Posts: 3670
|
|
|
You might need to tell us how the response is generated with some code?
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Ivan Krizsan
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
Have you tried throwing a SOAPFaultException which you created with a SOAPFault as parameter?
In the SOAFault object, you can set detail information.
Best wishes!
|
My free books and tutorials: http://www.slideshare.net/krizsan
|
 |
sreenivas vemula
Ranch Hand
Joined: Jan 21, 2012
Posts: 44
|
|
Hi Ivan,
Thanks for the information.
Regards,
sreeni.
|
 |
 |
|
|
subject: Problem in Throwing Exception
|
|
|