How to get Service operations from Services

Hello All,

I am looking for an API / method that can list the service operations for a Service. I am using the Microsoft.Dynamics.Ax.Xpp.MetadataSupport::ServiceNames() to get all the services. Each service can have one or more operations. I need the list of operations. The purpose of this is to get the Roles that can Invoke the service operation.

Thanks in Advance!!!