I have created a webservice with EJB session bean as End point. I have a hanlder class implementing javax.xml.rpc.handler.Handler where i am varifying user login/password information in the Header. Now i want to set up faultcode, JUST CANNOT understand how and where to set the FaultCode. Please help as i just cannot understand this concept. How to set up faultcode? or how through exception etc..
Please provide some details if possible!!!
Any tips will be very helpful.
Thanks Salman Riaz
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
SS Riaz,
Have you had a look at the SAAJ API and more specifically the javax.xml.soap.SOAPFault class? This might be the class you are willing to use