Fixing retrieve default service lifecycle code

RXTs should be search by its mediatype.