Return of a web service is specified in the custom reply notification. You need to define attributes of this notification and then define creation rules that would initialiase these attributes from objects in the context. See the examples that were sent to you.
Input of the service is input of the implementing process - you just need to define the process input. It can be one or more objects.