REST Integration COMMON FAULT HANDLER exists with the request payload as below where instance id type is number . This integration is called in global fault handler which sends email to particular email group and we have external process where Cherwell ticket gets created based on this email . So THIS INTEGRATION is called in all the active integrations so that Cherwell ticket gets created incase of any error.
[ {
"FRICEID" : "INT0010",
"InstanceID" : 1234,
"FaultCategory" : "TECHNICAL",
"FaultCode" : "Validation Error",
"FaultDescription" : "string",
"Attribute1" : "string",
"Attribute2" : "string",
"Attribute3" : "string",
"Attribute4" : "string",
"Attribute5" : "string"
} ]
After upgrading to Oracle Integration 3 , the InstanceID is converted to String as part of this upgrade.
So NOW all the calls to the above integration error
Translation Failure.
Failed to translate XML to JSON. javax.xml.stream.XMLStreamException: Cannot write end element: InstanceID
The data does not conform to the NXSD schema. Please correct the problem.
We modified the COMMON FAULT HANDLER so that InstanceID element is of type string. But this is not updating the type of the InstanceID in the existing mapping to call COMMON FAULT HANDLER integration and so we are still getting translation failure error.
NEW REQUST PAYLOAD
[ {
"FRICEID" : "INT0010",
"InstanceID" : "ZIa3iD4vEe-_Kp17NOjsSw",
"FaultCategory" : "TECHNICAL",
"FaultCode" : "Validation Error",
"FaultDescription" : "string",
"Attribute1" : "string",
"Attribute2" : "string",
"Attribute3" : "string",
"Attribute4" : "string",
"Attribute5" : "string"
} ]
Below is the screenshot of the existing mapping to calls COMMON FAULT HANDLER integration AFTER MAKING CHANGES to COMMON FAULT HANDLER integration .Please note that InstanceID type is still number.

Only for the new mapping created to call COMMON FAULT HANDLER integration , the InstanceID type is converted to String as shown below

The issue will be solved by creating new mapper for all the exising active integration.
We wat to avoid creating new mapper for all the active integration as we there are hundreds of them and its lot of manual effort. PLEASE PROVIDE ANY POSSIBLE SOLUTIONS.
Thanks
Ravi.