z_blue
z_blue

Reputation: 360

"A ruleset parameter of type XML is not supported in a JSON payload" exception when using the Business Rules service on Bluemix

I tried to use my XML data with the HTDS REST JSON API and I got the exception:

 "A ruleset parameter of type XML is not supported in a JSON payload"

Upvotes: 1

Views: 48

Answers (1)

z_blue
z_blue

Reputation: 360

I was trying to use the XML binding object model, which is not supported in the JSON format. Once I switched to the XML format, the error disappeared.

Upvotes: 1

Related Questions