APAR status
Closed as program error.
Error description
After migration of the api with the IBM migration tool, are facing some issues during execution of messages in API Connect version 10. Add an invoke policy after the parse, prior to the setvariable, message.body as the JSON object from the backend, request.parsed_body remains as XML document. After the set variable, message.body is now null. - set-variable: version: 2.0.0 title: set-variable actions: - set: message.body value: $(request.parsed_body) type: any
Local fix
recommend they use gatewayscript. So replace the set-variable after invoke with a gatewayscript that has the following code: context.set("message.body", context.get("request.parsed_body"));
Problem summary
Setvar action cannot handle xml payload.
Problem conclusion
Fix is available in 2018.4.1.21, 10.0.1.8 and 10.5.0.1 For a list of the latest fix packs available, please see: https://www.ibm.com/support/pages/node/83105
Temporary fix
Comments
APAR Information
APAR number
IT40760
Reported component name
DATAPOWER
Reported component ID
DP1234567
Reported release
A0X
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-04-27
Closed date
2022-06-15
Last modified date
2022-06-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DATAPOWER
Fixed component ID
DP1234567
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X"}]
Document Information
Modified date:
16 June 2022