return wsCall.getInputStructure().equals(tf.getInputStructure()) &&
wsCall.getOutputStructure().equals(tf.getOutputStructure());
}
private void validateDoubleTransformation(Transformation first, Transformation second) {
DataStructure in = first.getInputStructure();
if (!wsCall.getInputStructure().equals(in)) {
fatal("The first transformation must take the WS request as input");
return;
}
DataStructure out = second.getOutputStructure();
if (!wsCall.getOutputStructure().equals(out)) {
fatal("The second transformation must produce the WS response as output");
return;
}
checkTransformationJoin(first, second);