/** * Create a Profile for the composite service. We only set the input and output of the profile * based on the process. */ Profile createProfile(final Profile profile, final Process process) { for (Input input : process.getInputs()) { profile.addInput(input); } for (Output output : process.getOutputs()) { profile.addOutput(output); } return profile; }