I have a very complex object that I would like sent using REST. Most likely it would be sent as JSON. However I'm not sure how this can be defined in the composite service that is REST-bounded.
I would like to do something like below but not sure how to code it:
// REST Service-- want the passed in "app" to be json
List<AppDetails> submitApplication(@FormParam("app") Application app);
// Composer (want to send as JSON)
Retrieving data ...