Hello everyone,
I’m currently facing a an issue on a REST-API exposed in Mediator, with JSON Content. Details on the software version below.
Whenever a client invokes our Web Service, the following error is presented:
{
"Exception": "Mediator encountered an error:Unable to invoke ESB Service:ab.mediator.cd.priv:copyCDRequest. Exception:Failed to convert JSON to XML payload. while executing operation:validation-rules service:OmnichannelAPI_Voucherify at time:9:59:36 AM on date:Jan 12, 2021. The client ip was:12.34.5.67. The current user:Default. The consumer application:null"
}
This happens when calling the aforementioned flow service, which is being called through the “Run webMethods Integration Server Service” policy, at the Request Level.
To debug this situation, I have made a dynamic savePipelineToFile, but the request is not even reaching this flow service.
I have investigated further, and I’ve reached the conclusion that only some types of requests fail, and I’ve pinpointed it to some specific characters, which I present below:
The request below fails due to the characters that are highlighted, numbers and symbols like the dollar sign ($). I am aware that it is not standard to define numbers or symbols as the first character for a JSON Property Name, but this provider only has these fields available this way.
I would like to ask you:
- Is this a know error with the product or configuration? Is there a fix or a configuration that can solve this?
- If no fix or solution is available, is there any way to workaround this?
Software Information:
webMethods Integration Server 9.12.0.0 with WmMediator
IS_9.12_Core_Fix18 installed
Thank you in advance for your help.
Best Regards,
Luís Monteiro