Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 4 Question 45 Discussion

Refer to the exhibits. 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?
B) set a SOAP payload before the Consume operation that contains the destination query parameter
A) Set a header In the Consume operation equal to the destination query parameter
C) set a property m the Consume operation equal to the destination query parameter
D) set a JSON payload before the Consume operation that contains the destination query parameter

Salesforce Certified MuleSoft Developer (Mule-Dev-201) Exam - Topic 4 Question 45 Discussion

Actual exam question for Salesforce's Salesforce Certified MuleSoft Developer (Mule-Dev-201) exam
Question #: 45
Topic #: 4
[All Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions]

Refer to the exhibits. 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?

Show Suggested Answer Hide Answer
Suggested Answer: B

As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter


Contribute your Thoughts:

0/2000 characters
Leonora
13 days ago
Option C could work too. Setting a property might help with the request handling.
upvoted 0 times
...
Trevor
18 days ago
I prefer option D. JSON payloads are more flexible for this kind of request.
upvoted 0 times
...
Gertude
23 days ago
I think option A is the best choice. Setting a header makes sense for query parameters.
upvoted 0 times
...
Gerald
29 days ago
I’m surprised this error even happened with such a simple request!
upvoted 0 times
...
Lorean
1 month ago
I thought setting a header would be enough, but maybe not?
upvoted 0 times
...
Mitzie
1 month ago
Wait, why would we need a JSON payload? Seems unnecessary.
upvoted 0 times
...
Avery
1 month ago
Definitely agree with that!
upvoted 0 times
...
Leigha
2 months ago
I think option C is the way to go.
upvoted 0 times
...
Sommer
2 months ago
I’m leaning towards option B, but I’m not entirely confident if a SOAP payload is necessary in this case.
upvoted 0 times
...
Judy
2 months ago
I feel like we should be using a JSON payload, but I can't recall if it was specifically for this type of error.
upvoted 0 times
...
Lavonna
2 months ago
I think we practiced a similar question where we had to set a property in the Consume operation. That might be relevant here.
upvoted 0 times
...
Blondell
2 months ago
I remember something about setting headers, but I'm not sure if that's the right approach for this error.
upvoted 0 times
...

Save Cancel