Posted: 25 Aug 2016 3:08 EDT Last activity: 21 Sep 2016 10:32 EDT
How do I get exception details from third party services (SOAP Connectors are created by Connector Wizard) ? We get only "SOAP Service Failed" message.
I am currently creating my SOAP Connectors with wizard on Pega 7.1.7.
And I want to see the details of fault exceptions that are thrown by third party services.
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 XSLT 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 connector wizard. And this way also brings a lot of rework for existing connectors. I want to take advantage of connector wizard and ofcourse don't want to do that much rework.
A SOAP fault is an error in a SOAP communication resulting from an incorrect message format, header-processing problems, or incompatibility between applications. When a SOAP fault occurs, a special message is generated that contains data indicating where the error originated and what caused it. The properties on the faults tab allows us to map the faults details returned and handle the error appropriately.
Actually I am reaching the third party service. But I am getting exceptions in the third party service operations. I see these exceptions on the third party side, but I cannot see/reach them on pega side.
You said "In fault tab you have target property which you can use to see the complete response." above. Can you give me an example with this. I need an example because whatever I did on the fault tab, I couldn't see the exception details.