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

Example Fault Format that does not cause CalloutException

Related to my earlier post, can anyone post an example fault message returned by an external service that does not cause a CalloutException?


If I have an example, I may be able to construct my messages appropriately.




If the service return a SOAP fault, then apex will throw a CalloutException.



is there no way to examine the fault object so I can work with the faultstring? Forcing to use only the incomplete message from the exception seems rather "dumb" and short-sighted.