FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-009 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-009 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS24.2.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

Refer to the exhibit! A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error. What is the next step to fix this error?

Answer

A) Set a header in the Consume operation equal to the destination query parameter
B) set a SOAP payload before the Consume operation that contains the destination query parameter
C) set a property to the Consume operation equal to the destination query parameter
D) set a JSON payload before the Consume operation that contains the destination query parameter

The correct answer to this question is B.

Explanation

Consume is a SOAP processor. There is a message in the console, that discovers the cause of an error. If the body is not a valid XML (SOAP envelope), or if the request cannot be created for some other reason (according to Mulesoft), you get a WSC:BAD_REQUEST error.

Register now