Omar - you can introspect the DSP file for that function and see the underlying service it is calling with any parameters. Then you can call that service directly from a Java wrapper using one of the Service.doInvoke() methods. You can then map the results to a record structure you create.
I found the function.
Just i want to get a transactions list that come in to wm server.
Then, i can manipule this information as a structure or record.
The service is wm.PartnerMgr.xtn.admin and i get the information i want.