JSON return format cordys BOP

465 Views Asked by At

I'm using Cordys BOP and I have a REST web service that returns JSON format. I have a test service that I use, that returns XML and this works fine so I know that my HTTP connector works right. When I try to test my JSON service using the Test Web Service Operation UI, I get an error that says Invalid XML response.

How do I tell Cordys to expect a JSON response instead of an XML?

Is there a way to somehow wrap a JSON in XML through Cordys?

1

There are 1 best solutions below

0
On BEST ANSWER

You probably need to change the header:

 Content-type: application/json