Added InvalidRepresentation fault.
Added validation and transformation process to the ResourceFactoryImpl.