When importing the roles and tasks for an endpoint, the location of the file can be seen. This is seen in the image below:
For example, my application server is Wildfly 8.2.1. The files would be deployed under:
Equivalently, files under the application server would be under the iam_im.ear file in this location:
The files would be located in a jar file where you can use a program to unpackaged the file and use the .xml from there.