you can try using the standard KM services which comes out of the box (repository & index management ws)
else you will have to build your own web service or REST service (use a framework like jersey) ) to have the KM functionalists exposed as oData.
However, i have a doubt whether you can pass on the KM resource object as such back & forth.
sandip