Home
|
Configuration Element
|
About
Topic:
4. Interceptors/Features
Versions:
6.0 current
5.8
5.5
5.4
5.3
5.2
5.1
5.0
json2Xml
Converts body payload from JSON to XML. The JSON must be an object other JSON documents e.g. arrays are not supported.
Explanation:
Resulting XML will be in UTF-8 encoding.
Can be used in:
serviceProxy
,
api
,
for
,
choose
,
stompProxy
,
if
,
registration
,
wsStompReassembler
,
internal
,
interceptor
,
bean
,
transport
and
soapProxy
Syntax
<api port="2000"> <request> <json2Xml/> </request> <target url="http://localhost:3000"/> </api>
Attributes
Name
Required
Default
Description
Example
root
false
-
-
-