Summary Salesforce Certified Integration Architecture Designer_ Exam 2022.
Salesforce Certified Integration Architecture Designer_ Exam 2022. What are some examples of Inbound integration points? – 1.) Creating and Hosting Apex REST and Web Services 2.) Email 3.) The standard Salesforce SOAP and REST APIs 4.) Chatter REST API When creating an Apex Web Service, what two annotations are required? - 1.) The Apex class must be *global* 2.) The class method must be annotated with *webservice* and *static*. For example: global class MyWebServices { webservice static Id createContact(String lName, String accId){ Contact c = new Contact(LastName = lName, AccountId = accId); insert c; return c.Id; } } Creating an Apex Web Service is an example of what type of Integration (i.e. Inbound or Outbound) - Inbound For an Apex Web Service that you created, how can an external client call the web service? What is required? - 1.) Generate the WSDL for the service by navigating to the Apex class in your environment and clicking on *Generate WSDL*. 2.) Provide the WSDL to the developer or owner of the external client for use with the language of their choice. What are examples of things that the Salesforce platform handles for you automatically when creating Apex Web Services? - 1.) The platform hosts the service for you. 2.) The platform handles the argument and return value conversions for you. 3.) The platform generates the WSDL for you. When creating an Apex Web Service, what is the only thing you need to actually worry about? - Creating the business logic in Apex. The platform handles everything else for you, such as hosting the service, argument and return type value conversions, and even generating the WSDL that needs to be consumed by the external client application. Thanks Salesforce! ;) What are some examples of Outbound integration points? - 1.) Outbound Messages (Workflow Action) 2.) SOAP services for invoking external web services (i.e. apex classes generated from a WSDL provided by/from/for a third party external application) 3.) HTTP to invoke external REST services 4.) Email What are the steps involved to generate SOAP services for invoking external web services? - 1.) Obtain a WSDL for the SOAP service with which you would like to integrate. 2.) Navigate to Setup Apex Classes Generate from WSDL 3.) Upload the WSDL. 4.) The WSDL will be parsed, and if parsing is done successfully without any errors, Apex classes will be generated for each namespace that appears in the WSDL document. These Apex classes can then be used to integrate with the SOAP service. What is an example of a scenario where, when using the "Generate from WSDL" action, the WSDL parsing may fail? - If the WSDL contains an unsupported schema type. How can you convert Apex methods that invoke web services (i.e. those generated from a WSDL) from synchronous actions to asynchronous actions? - Annotate the methods with @future. You can then monitor the callout under Setup Monitoring Apex Jobs How many notifications may be included in one Outbound Message? - 100 Outbound Messages are asynchronous or synchronous? - Asynchronous What are some elements included in the payload of an Outbound Message? - 1.) The Org Id 2.) An IP address 3.) A session Id 4.) Enterprise/Partner Endpoint URL # 1 and # 2 aid with security as you can verify the source of the message, while # 3 and # 4 provide easy callbacks to the Salesforce platform. What are the steps involved with setting up an Outbound Message? - 1.) Define your Workflow Rule or Approval Process 2.) Define the Outbound Message Workflow Action 3.) Download the WSDL for the Outbound Message. 4.) Use the language of your choice to implement the endpoint to receive the Outbound Message. Bonus 5.) Ensure that your endpoint server has been added under Remote Site Settings. Is it possible to track the status of an Outbound Message? - Yes, under Setup Monitoring Outbound Messages Name some differences between Outbound Messages and the SOAP API - 1.) Outbound Messages are declarative, whereas the SOAP API requires code. 2.) With Outbound Messages, you must use the provided WSDL to define what the endpoint must look like, whereas with the SOAP API, the endpoint is existing (i.e. already defined), and the SOAP API provides a way to invoke that existing web service from Apex. Describe the details with respect to Notifications for Outbound Messages. - 1.) If the endpoint is unavailable, messages will stay in the queue until sent successfully, or until they are 24 hours old. After 24 hours, messages are dropped from the queue. 2.) If a message cannot be delivered, the interval between retries increases exponentially, up to a maximum of two hours between retries. 3.) Messages are retried independent of their order in the queue. This may result in messages being delivered out of order. 4.) Because a message may be delivered more than once, your listener client should check the notification IDs delivered in the notification before processing. 5.) Note that if the information in the object changes after the notification is queued but before it is sent, only the updated information will be delivered. What three classes are involved with making HTTP requests to an external REST service? - 1.) Http 2.) HttpRequest 3.) HttpResponse What is the Http class used for? - The Http class is used to initiate an HTTP request and response. What is the HttpRequest class used for? - The HttpRequest class is used to define the request. It is used to create GET, POST, PUT, and DELETE requests, manipulate request headers, configure timeouts, and more. What is the HttpResponse class used for? - The HttpResponse class is used to handle Http responses, including determining Http response codes, response headers, and content in the response body. Continue.................
Document information
- Summarized whole book?
- No
- Which chapters are summarized?
- Salesforce certified integration architecture designer
- Uploaded on
- November 10, 2022
- Number of pages
- 27
- Written in
- 2022/2023
- Type
- Summary