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
Just Code ItJust Code It 

Customize Standard Web Services Method

Hi All,

Is there a way we can customize (add custom logic, for example) to the standad Web Services methods exposed in Enterprise WSDL, such as the Create(...) method. Or the only way we can create custom Web Services method is through exposing Apex as Web Services (currently, I'm doing it this way). Thanks in advance.



Best Answer chosen by Admin (Salesforce Developers) 
Ritesh AswaneyRitesh Aswaney

You can add custom logic via Apex Triggers. If you wanted to say perform some custom Logic on Account Create, you could use a Before / After trigger on Account,  which implements this logic.