validateEsbInterface(esbIntf);
if (esbIntf.getOutputType() == null) {
serviceInterface = new InOnlyService(new InOnlyOperation(
ServiceInterface.DEFAULT_OPERATION, esbIntf.getInputType()));
} else {
serviceInterface = new InOutService(new InOutOperation(
ServiceInterface.DEFAULT_OPERATION,
esbIntf.getInputType(), esbIntf.getOutputType(), esbIntf.getFaultType()));
}
}
}