SAP Certified Associate – SAP Integration Suite — Question 3
You want to access individual entities of an HTTP call over XPath.
What must you do if no namespaces mapping exists?
Answer options
- A. Remove the namespaces.
- B. Remove the XML prolog.
- C. Convert the namespaces to JSON.
- D. Convert the namespaces to XML.
Correct answer: A
Explanation
Removing the namespaces allows XPath to directly access the elements without the overhead of namespace handling. The other options do not address the issue of namespace mapping and would not facilitate direct access to the desired entities in the XML structure.