AFAIK, the ear deployer won't do anything with your service.xml . If you want to deploy it, you have to put it in the META-INF of a .sar file (or just deploy it standalone ;-)
You can use a container configuration for your EJBs with a JMX ObjectName of a service on which the
container or ejb depends. Take a look at the jboss_3_2.dtd .
Put the my-service.xml file in the root of the .ear.
Include a META-INF/jboss-app.xml file containing
you can also use this to deploy embedded .sar files.