Find a package name from service

I want to find out package name from the service name that I provide.
I tried to write a java service but that is not working.

Hi Kaustubh,

There is a Root service which can give you the package name of a service.


Please note that it is not recommended to use Root services.


Thanks Yogesh . This is what I wanted.