Anyone know how to read the service repository using a java class?

I have another project running on a bi-server and would like to read the services that are available in pentaho.

I found this doc about security:

My application read the URL:

but it happens a xml parse error.

Someone could help me?