parent name of the flow service

how to get the parent name of the service , suppose if A calling B , here B is the parent class , i want to retrive the name of the parent service B in A .

plz, help me out either in flow service or in java service

See this post. The search function is your friend.