Apex Integration Services | Apex SOAP Callouts

Опубликовано: 24 Февраль 2026
на канале: TrailheadWorld
275
2

Integrate with external apps using Apex REST and SOAP services.
Make Callouts to External Services from Apex
An Apex callout enables you to tightly integrate your Apex code with an external service. The callout makes a call to an external web service or sends an HTTP request from Apex code, and then receives the response.

Apex callouts come in two flavors.

Web service callouts to SOAP web services use XML, and typically require a WSDL document for code generation.
HTTP callouts to services typically use REST with JSON.
These two types of callouts are similar in terms of sending a request to a service and receiving a response. But while WSDL-based callouts apply to SOAP Web services, HTTP callouts can be used with any HTTP service, either SOAP or REST.

Generate an Apex class using WSDL2Apex and write a test class.
Generate an Apex class using WSDL2Apex for a SOAP web service, write unit tests that achieve 100% code coverage for the class using a mock response, and run your Apex tests.

Resources
REST vs SOAP: When Is REST Better?
Trailhead Live: Trail Together - Apex Integration Services

Trailhead Link -https://trailhead.salesforce.com/cont...
Apex Integration Services-https://trailhead.salesforce.com/cont...
Apex SOAP Callouts-https://trailhead.salesforce.com/cont...
#trailhead #salesforce #coding #trailhead_solutions #trailheadworld #integration #api #apex ‪@playapex‬ #apexlegends #apexIntegration ‪@trailhead‬ ‪@salesforce‬ ‪@trailheadworld‬
linkedin ID-   / trailheadworld-ba2aa0250  
Instagram ID-   / trailheadworld