Configuring Endpoint Call Processing
In the
Call Transformations page, specify the following information in these fields:
- Processing Adapter: com.mashery.proxy.customer.generic.xml-json-transformation-connector
- Perform Pre-Processing: Enabled
- Perform Post-Processing: Enabled
- Data to make available for pre-processing: Pre-Input Data as shown in the following table.
Data Example Notes array_representation : <array representation> array_parent_child : parent|child array_representation : compact array_parent_child : options|option Optional Field. Applicable for XML→JSON Transformation array_representation : <array representation> array_parent_child : parent|child array_representation : expand array_parent_child : options|option Optional Field. Applicable for XML→JSON Transformation consider_boolean : <flag> consider_boolean : true Optional Field. Applicable for XML→JSON Transformation consider_number : <flag> consider_number : true Optional Field. Applicable for XML→JSON Transformation namespace_handling : <Namespace Handling Flag> namespace_handling:yes Optional Field. Applicable for XML→JSON Transformation namespace_handling : <Namespace Handling Flag> use_namespace_prefix : <Use Namespace Prefix Flag> namespace_prefix : <Namespace Prefix to be use> namespace_handling:yes use_namespace_prefix:yes namespace_prefix:# Optional Field. Applicable for XML→JSON Transformation node_interpretation : <Node Interpretation> text_node_name : <sample node name> node_interpretation : strict text_node_name : testNode Optional Field. Applicable for XML→JSON Transformation override_custom_error_message : <flag> override_custom_error_message : true. Optional Field. use_attribute_prefix : <Use Attribute Prefix Flag> attribute_prefix : <Attribute Prefix to be use> use_attribute_prefix:yes attribute_prefix:# Optional Field. Applicable for XML→JSON Transformation