I am currently creating my web services with wizard with Pega 7.1.7.
And I want to see the details of web service exceptions that thrown by third party applications.
I have tried a number of ways to do that;
-Catch the exception detail with try-catch block in java,
-Catch the exception detail with try-catch block in an activity
-Look into the clipboard to see if exception detail already exists.
-And I create manually the XSTL request and response files, the service, and an activity that calls the service. By this manually created service, I can catch the exception detail. But I don't want to use this way because of loosing the benefits of service wizard and this way brings a lot of rework for existing web services. I want to take advantage of service wizard and ofcourse don't want to do that much rework.
Have you considered the option of using Faults tab in Service-SOAP rule?
Use the Faults tab to specify data returned to the client application when the service encounters a fatal processing error and must return a SOAP fault message. You can also use the Faults tab for other conditions that you want to cause SOAP fault messages to be returned. A fault is a fatal processing error in the service, such that valid data cannot be