简体   繁体   中英

How to call OData functions with parameters from Olingo Java client?

I am using Olingo Java Client to fetch an odata service V4. I am not able to fetch the odata functions using Olingo. Olingo wiki was of no use. Can someone please help with this. If anyone can suggest another java based odata client that would be great too.

You can use the

getFunctionInvokeRequest(URI uri, Class<T> resultRef, Map<String,ClientValue> parameters)

method at the InvokeRequestFactory. There you can specify the parameters which are used in the request.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM