Free Salesforce Developers Tutorials >

Chapter 13 - API >



What You’ll Learn

S2 Labs

Exposing Apex Methods As SOAP Web Services 

You can expose your Apex classes and methods so that external applications can access your code and your application through the REST architecture. 

Apex SOAP Web services allow an external application to invoke Apex methods through SOAP Web services. 

WebService Methods 

Apex class methods can be exposed as custom SOAP Web service calls. This allows an external application to invoke an Apex Web service to perform an action in Salesforce. Use the webService keyword to define these methods. 

For Example: To create an account and insert it in Salesforce.

global class MyWebService 
webService static void makeAccount() 
// Your code here 
Salesforce Developer

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Download Now

Our Salesforce Certification Courses

Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.

Post a Comment

Your email address will not be published. Required fields are marked *