I have three entities (Entity Services) and one Application Service.
Application Service needs a operation to pull data from each entity based on the input parameter (name, type String).
The operation, builds an object with attributes from all three entities, and returns that newly created object.
I have a Java DC, that's going call this operation on the Application Service.
Question: How Java DC would know the object type of the object returned by the operatio on the custom operation on the Application Service?
Is it possible to do something like this or is there a better way to do this?
BTW, This Java DC is being used as Callable Object in GP.
Can I create a Service Endpoint for the Application Service and build the Callable Object directly against the Application Service. Then how to invoke method on the Application Service? How to handle the Object returned by the Application Service method?