Skip to main content

Our customer is using Apps 10 UPD 11 and is sending JSON messages to external REST endpoints. The JSON is generated as a PL/SQL document and sent via Plsql_Rest_Sender_API.Call_Rest_EndPoint. The message undergoes a transformation using an XML to JSON transformer.

We have observed an issue where leading zeros in the JSON message are being omitted during transmission.


For example:
XML message:

<Barcode type="Text">0123456789</Barcode>

Receiving Json:

"Barcode": "123456789"

During debugging and sample unit testing, we confirmed that the transformer functions as expected. However, by the time the message reaches the endpoint, the starting zeros are no longer present.
 



I have found similar case in,
An issue with the IFS XML to JSON transformer. | IFS Community

We were able to recreate this in IFS CORE. Please see the attachment.


Reply