exam questions

Exam 1z0-1042-23 All Questions

View all questions & answers for the 1z0-1042-23 exam

Exam 1z0-1042-23 topic 1 question 13 discussion

Actual exam question from Oracle's 1z0-1042-23
Question #: 13
Topic #: 1
[All 1z0-1042-23 Questions]

CSV-formatted data has been extracted from ERP Cloud by invoking a web service using the SOAP Adapter, and the data extract has been returned as an MTOM attachment. You now need to send this CSV file to an external REST API that supports accepting this content as a Base64 encoded string.
Which XPath mapper function should be used to map the SOAP MTOM attachment to the Base64 element present in the target REST API payload?

  • A. encodeBase64
  • B. encodeReferenceToBase64
  • C. decodeBase64ToReference
  • D. decodeBase64
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
tuanthanh
4 months ago
The correct XPath mapper function to map the SOAP MTOM attachment to the Base64 element present in the target REST API payload is: D. decodeBase64 Explanation: When dealing with a SOAP MTOM attachment, the attachment is typically encoded as Base64. To map this attachment to the Base64 element in the target REST API payload, you need to decode the Base64-encoded attachment.
upvoted 1 times
fee3af5
2 months, 2 weeks ago
The correct answer is B. The SOAP MTOM attachment is attached *to* the Base64 element, rather than *from* the Base64 element. Therefore, since you are encoding from some reference data to Base64, the answer would be B. If you needed to decode back from Base64 to your reference format, then you'd use decodeBase64ToReference, which is answer C.
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago