Adding example for services defined in XML

Additional example for defining the listener service via XML