Exception or Fault is not working in Webservices tutorial - "SOAP Web Services 16 - Handling Faults"

29 views
Skip to first unread message

ananda paul

unread,
Dec 11, 2013, 2:38:11 AM12/11/13
to java-bra...@googlegroups.com
Hi Koushik,

I am very impressed with all your tutorials and I have a question on this particular topic.

I followed everything mentioned in the video to simulate an exception. When I give the wrong input, it gives me the entire stack trace in the tester page. Glassfish does not give me the fault message in the soap output xml format. Can you please help me with this as I could not do it? 



The stack trace starts like javax.servlet.ServletException: java.lang.reflect.InvocationTargetException at org.glassfish.webservices.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:336) at org.glassfish.webservices.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:106) 
Reply all
Reply to author
Forward
0 new messages