I would like to get a list of records in the response of a service.
The process is :
FIND ALL Regio
"The service reply will return object" : Regio
"Multiple instances of the object will be returned" is ticked.
See attachment.
Unfortunately the service will not give a response. The system hangs.
So the question is how to get a (JSON) response with multiple records ?
I expect a response like :
{
{
"Regio": "North",
"Number": 122
},
{
"Regio": "South",
"Number": 123
},
{
"Regio": "West",
"Number": 125
}
}
Return multiple instances
Return multiple instances
- Attachments
-
- multi.png (17.43 KiB) Viewed 8175 times
Re: Return multiple instances
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
Re: Return multiple instances
Hi Jaymer,
Thanks replying.
It works with some tables, but not with all tables, very strange.
In that case a database-error is returned :
"Could not connect to address=(host=localhost)(port=3306)(type=master) : Address already in use:"
After this I have to restart AIM or reboot the server.
I'm not able to discover what's the reason..
regards
Jannes
AIM 8.7
Thanks replying.
It works with some tables, but not with all tables, very strange.
In that case a database-error is returned :
"Could not connect to address=(host=localhost)(port=3306)(type=master) : Address already in use:"
After this I have to restart AIM or reboot the server.
I'm not able to discover what's the reason..
regards
Jannes
AIM 8.7
Re: Return multiple instances
Weird error
Not tried on 8.7
Where exactly is the error coming from? Aware? Tomcat? Etc. post an image
Not tried on 8.7
Where exactly is the error coming from? Aware? Tomcat? Etc. post an image
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL