QUESTION, ANSWER, EXPLANATION
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.
RELATED ARTICLES
OTHER ARTICLES
OLDER ARTICLES
LATEST FORUM UPDATES
APIAmeeth, Thursday, 1.9.2022 / 21:23
Jay-Catalyst, Tuesday, 2.11.2021 / 10:48
Matteo, Friday, 3.7.2020 / 16:30
Matteo, Friday, 3.7.2020 / 16:29
Matteo, Friday, 3.7.2020 / 16:28
Caio S Cavalcante, Friday, 22.5.2020 / 16:59
Edo Schatz, Thursday, 21.5.2020 / 13:50
Edo Schatz, Thursday, 21.5.2020 / 11:29
Edo Schatz, Wednesday, 20.5.2020 / 18:18
Edo Schatz, Monday, 18.5.2020 / 16:33
NEW ARTICLES
POPULAR ARTICLES