Page 1 of 1

Behaviour-Change in Rest-WebService?

PostPosted: Tue Oct 09, 2018 4:33 pm
by rph
Hi

We have a Rest-WebService that runs since a long time without any problems. Until now we used Servoy 8.1.x. Now we want to upgrade to Servoy 8.3.2. The WebService will receive the Parameters by XML and also must returns XML-Content, because the Client-Application expects XML.

Here is what I get in Postman, when I call the WebService in Servoy 8.1.4:

WebService_with_Servoy_8.1.4.png
WebService_with_Servoy_8.1.4.png (104.96 KiB) Viewed 2067 times


and here the same Service called on Servoy 8.3.2:

WebService_with_Servoy_8.3.2.png
WebService_with_Servoy_8.3.2.png (27.63 KiB) Viewed 2067 times




As you can see the Content-Type and "Accept"-Parameter is set (in both Versions). But in the Servoy 8.3.2-Version I get an JSON-String and not a XML-String as in 8.1.4!

What can I do to change this behaviour?

Thanks in advanced for any suggestions!

Cheers
Roland

Re: Behaviour-Change in Rest-WebService?

PostPosted: Tue Oct 09, 2018 5:46 pm
by mboegem
On first sight, the request looks good, so this sounds like a bug.
Better file an issue in JIRA at support.servoy.com

Re: Behaviour-Change in Rest-WebService?

PostPosted: Wed Oct 10, 2018 9:10 am
by rph
Thanks Marc for your answer, I'll do that!