How to Invoke OneFlow rest service API like XML RPC

I want to get the list of service info and invoke a desired service.

I went through the XML RPC API doc and was not able to find any method for getting the list of services.

Is there a way wherein I can use Openflow rest api programmatically for acheiving the same.

A sample code would be helpful