SNOW-CAD Platform Features and Integration Practice Question
A developer needs to invoke a third-party SOAP web service from a business rule. The WSDL is imported and the SOAP message is created. What is the correct way to send the request?
⚠ Common exam trap
ServiceNow often tests the distinction between SOAP and REST integration methods, and the trap here is that candidates mistakenly choose RESTMessageV2 (Option D) because they assume any HTTP POST can handle SOAP, ignoring that SOAP requires a dedicated API to manage the SOAP envelope, headers, and fault handling properly.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a SOAPMessage object and use the send() method.
The SOAPMessage object, part of the javax.xml.soap API, provides a send() method that handles the entire SOAP request-response cycle over HTTP. This method automatically marshals the SOAP message, sends it to the endpoint defined in the WSDL, and returns the response as a SOAPMessage object, making it the appropriate choice for invoking a SOAP web service from a business rule.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a SOAPMessage object and use the send() method.
Why this is correct
SOAPMessage's send() method properly sends the SOAP request and returns a SOAPResponse.
- ✗
Use the XMLDocument object to parse the response only.
Why it's wrong here
XMLDocument is used for parsing, not for sending requests.
- ✗
Use a GlideRecord insert to write the SOAP envelope to a table.
Why it's wrong here
GlideRecord is for database operations, not web service calls.
- ✗
Use the RESTMessageV2 object to send the request as a POST.
Why it's wrong here
RESTMessageV2 is for REST, not SOAP; SOAP has its own dedicated API.
Go deeper
Related to this question
About these practice questions
This SNOW-CAD question is part of Courseiva's 481-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This SNOW-CAD practice question is part of Courseiva's free ServiceNow certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SNOW-CAD exam.