Fixed validation on resources. Had to remove xml as consume/produce