Exam C_CPI_2404 Topic 2 Question 10 Discussion
Actual exam question for SAP's C_CPI_2404 exam
Question #: 10
Topic #: 2
Question #: 10
Topic #: 2
In your integration flow process, the request reply returns a message with namespaces. What can you do to delete namespaces from this message? Note: There are 2 correct answers to this question.
Suggested Answer: B,D Vote an answer
A Content Modifier is a step in an integration flow that allows you to modify the message header or body using expressions or constants. You can use a Content Modifier to delete namespaces from a message by using expressions that remove the namespace declarations or prefixes from the XML elements or attributes. For example, you can use the expression replace($body,"xmlns:ns[0-9]+=\"[^\"]+\"","") to remove all namespace declarations from the message body. An XSLT mapping is a step in an integration flow that allows you to transform the message body using an XSLT stylesheet. You can use an XSLT mapping to delete namespaces from a message by using XSLT instructions that strip or exclude the namespace information from the output XML document. For example, you can use the instruction <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="#all"> to exclude all namespace prefixes from the output document. Reference: Content Modifier | SAP Help Portal, XSLT Mapping | SAP Help Portal
by Lillian at Jul 29, 2024, 12:51 PM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).