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:
http://wiki.pentaho.com/display/Serv...vices+Security

My application read the URL:
http://localhost:8080/pentaho/Soluti...nRepositoryDoc

but it happens a xml parse error.

Someone could help me?
thanks