Yes.
Whenever we need to use DP EXTN Functions, we always need to declare the below
namespace.
xmlns:dp=
http://www.datapower.com/extensions extension-element-prefixes="dp"
dp:set-variable:
<dp:set-variable name="variableName" value="variableValue"/>
dp:reject :
The appliance sends the denial message to the client in a SOAP fault
message. Also stops document processing and optionally invokes the error
rule for custom error handling
<dp:reject override="true | false">
text
</dp:reject>
dp:set-http-request-header :
<dp:set-http-request-header name="httpHeaderField"
value="httpHeaderFieldValue"/>
If a client request already includes the field identified by the name
attribute, this extension element overwrites the specified header field value in the client
request.
If the header field does not exist, this extension function adds the specified name
and value to the client request.