Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Throwing Exception

 
sreenivas vemula
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 3918
10
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might need to tell us how the response is generated with some code?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
sreenivas vemula
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ivan,
Thanks for the information.

Regards,
sreeni.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic