public OperationPipeline createPipeline(Operation op, IntegrationEntityLookup lookup) {
SourceActivity ws_source = SourceActivity.newInstance(lookup.getEntity(op.getSourceId(), Source.class),
WebServiceCallTemplate.SOURCE);
TargetActivity ws_target = TargetActivity.newInstance(lookup.getEntity(op.getTargetId(), Target.class),
WebServiceCallTemplate.TARGET);
WebServiceCallChain chain = new WebServiceCallChain(op, lookup);
TransformationActivity request = TransformationActivity.newInstance(chain.getRequestTransformation(),
WebServiceCallTemplate.REQUEST);
WebServiceCallActivity ws = WebServiceCallActivity.newInstance(chain.getWebServiceCall(),
WebServiceCallTemplate.WEBSERVICECALL);
TransformationActivity response = TransformationActivity.newInstance(chain.getResponseTransformation(),
WebServiceCallTemplate.RESPONSE);
List<PipelineActivity> activities = Lists.newArrayList();
activities.add(ws_source);
activities.add(request);
activities.add(ws);