The series of events in which a stimulus from a tumor cell is received and converted into a molecular signal.