Getting empty data from rest.

0
Hello all, I created a domain model in one application and added dummy data also and try to get those data from the second application via a rest but I am getting empty data. I don't know why this happens. Please give me a solution. Thank You. j
asked
2 answers
0

How did you created the entity (object)?

When you are calling a REST service: you must have a GET service that is actually getting something from database or creating the object in memory, use export mapping to export that object and attach it to the HTTP response.

Post the Microflow that handles the GET request.

answered
0

Have you added logging? If you set the log level to TRACE for REST Consume on the application making the call, and TRACE on REST Publish on the application that provides the service you should be able to see the messages being sent and received at both ends. This should help you debug what is happening.

answered