Troubleshooting
Problem
Suppose a JSON message is posted to a JMS queue, using API tester/ REST client synchronously via a separate synchronous service defined in SDF. This service will only contain a JMS queue component and the client applications will post JSON messages to this using REST Client. This message will be read by the asynchronous service mentioned above.
What is the recommendation from a product standpoint to achieve this as the message posted to the queue is not xml, but JSON ?
What is the recommendation from a product standpoint to achieve this as the message posted to the queue is not xml, but JSON ?
Resolving The Problem
OMS REST api supports JSON input. REST api can be used to invoke xapis as well as synchronous services. REST api cannot be used to make asynchronous calls. OMS xapis and asynchronous services accept only XML input.
In this case JSON message needs to be converted into XML before posting it into the JMS queue or you can explore JMS queue vendor's customization capability to convert JSON into XML at the JMS level.
Document Location
Worldwide
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Component":"sdf","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Was this topic helpful?
Document Information
Modified date:
27 February 2019
UID
ibm10869892