function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Darshit Pathak 10Darshit Pathak 10 

how to send soap response in case of transaction fails in sfdc? i.e. CPU timelimit or SOQL 101

I have written a webService for external system, while external system hit the sfdc to utilize the webSrive and suppose SOQL 101 or CPU time limit exception occured, so transaction fails right away there.
So is there any way I can send proper response in soap:fault format, to external system?