WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Consuming a JSONP service response
When a message flow is configured to use the JSON domain, the JSON parser automatically detects JSONP messages. The JSON parser puts the JSON padding in the top level Padding element, and the JSON data under the Data element.
Before you start:
Before completing this task,
read the following overview topics about JSON:
You can process both JSON and JSONP messages in a single
message flow, because the parser puts the JSON data under the Data element
in the message tree. If JSONP padding is detected, the name of the
client-side script is placed in the top level Padding element.
Follow these steps to test for the presence of padding: