This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I am new to web services world. Can someone please tell me how can I handle exception occered in Service. i.e.
If there is any exception while executing the service method code, if any exception occurs, may be run time exception or, some error condition, where custom message need to be sent back to user, how can one do it?
Can we send the exception/message in Soap:Fault. Or I need to have some provision in return type of method.
--------------------------------<br />SCJP (91%), SCWCD(89%)<br />ON the way to SCDJWS...
Be aware that if your request never gets through to your SOAP service due to some addressing problem, the server will probably send back a plain HTML message and an error code that your SOAP client may have a hard time interpreting.
Most developers use something like TCPMON to record the exact text of request and response when debugging.