Error invoking REST service request body
hi,
Wont using xml create additional overhead on the service?
What type of errors are these? and can they be fixed anytime soon?
regards
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
hi,
Wont using xml create additional overhead on the service?
What type of errors are these? and can they be fixed anytime soon?
regards
Hello -- there is also another thing you can try - turning on the "Use Appery.io Proxy".
Hi, XML data type and proxy are NOT solving the problem. Please provide alternate solution asap. It is holding us up. Thanks.
Hi, XML data type and proxy are NOT solving the problem. Please provide alternate solution asap. It is holding us up. Thanks.
Hi, I am working with Rituraj on this. The problem is that when we invoke the test service in the service definition, the json values are sent to the rest service (http://54.214.254.15:8081/validatelogin) and a valid response json is received successfully. When we map the same from UI components and invoke the service from UI, the content is not having the json formed. Here two text fields are mapped to the json content. When the request is received on the service side, the content just has /validatelogin string and not the json content. Looks like somehow the url has got into the content.
Missed out a point to add.. The service is POST service. the behaviour inside appery UI seems more like GET rather than POST while testing the service from service definition test option works correctly as POST.
If you define the service as POST, when you invoke the service from the page it will be a POST. Did you check what you get as response in Network tab (Chrome Dev. Tools or Firebug)?
when i test the service from service definition, I can see the post object in Firebug in Net tab. When I do the same from the UI screen - I dont see any post tab and not able to see the POSTcontent.
Did you try with the proxy on?
If the service is invoked (with error or not), it will have an entry in Network tab. You can also check the Console view for any errors.