Behaviour-Change in Rest-WebService?

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

Behaviour-Change in Rest-WebService?

Postby rph » Tue Oct 09, 2018 4:33 pm

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 2065 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 2065 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
rph
 
Posts: 75
Joined: Wed Aug 10, 2011 11:44 am
Location: Cham, Switzerland

Re: Behaviour-Change in Rest-WebService?

Postby mboegem » Tue Oct 09, 2018 5:46 pm

On first sight, the request looks good, so this sounds like a bug.
Better file an issue in JIRA at support.servoy.com
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Behaviour-Change in Rest-WebService?

Postby rph » Wed Oct 10, 2018 9:10 am

Thanks Marc for your answer, I'll do that!
rph
 
Posts: 75
Joined: Wed Aug 10, 2011 11:44 am
Location: Cham, Switzerland


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 8 guests

cron