You can configure the policy with the following options:
Property | Required | Description | Type | Default |
---|---|---|---|---|
scope (deprecated, v3 only) |
X |
The execution scope ( |
string |
|
rootElement |
X |
Root element name that’s enclose content. |
string |
|
Phase | Code | Error template key | Description |
---|---|---|---|
onRequest |
|
JSON_INVALID_PAYLOAD |
Request payload cannot be transformed properly to XML |
onResponse |
|
JSON_INVALID_PAYLOAD |
Response payload cannot be transformed properly to XML |
onMessageRequest |
|
JSON_INVALID_MESSAGE_PAYLOAD |
Incoming message cannot be transformed properly to XML |
onMessageResponse |
|
JSON_INVALID_MESSAGE_PAYLOAD |
Outgoing message cannot be transformed properly to XML |