Skip to Content

What is Exposed Service URL for CDS-based oData v4 Operation

Aug 14, 2017 at 05:29 PM


avatar image
Former Member


We are continuing with our exploration of the Extension Framework for the CDS-based service provided by `@oData.Publish`.

We are trying to use the Service Operation annotation `@ExtendDataProvider( serviceName = "SomeService", operationName = "SomeOperation")` as described in ``; however we have not found any url that can actually access the compiled service.

According to the general documentation, we expected to start with the endpoint `/java/odata/v4/`.

We have tried all of the following variations with no success and are really desperate for some clarification.

  • `/java/odata/v4/<namespace>._.<serviceName>/<operationName>`
  • `/java/odata/v4/<namespace>._.<serviceName>.<operationName>`
  • `/java/odata/v4/<serviceName>/<operationName>`
  • `/java/odata/v4/<operationName>` (_in this case we removed serviceName as a parameter_)
  • `/java/odata/v4/<namespace>/<operationName>`
  • `/java/odata/v4/<namespace>._.<serviceName>/<operationName>.svc`

Could someone kindly provide us with what the actual service URL would be given a ServiceName = "SomeService" and an operationName = "SomeOperation".

(If this is not actually working, this would also be very helpful to know so that we can stop wasting time on it, though hopefully this is not the case).

Also - if anyone could confirm whether a unique ServiceName is required or whether an EntitySet can be provided as the serviceName, that would be much appreciated. and/or how to bind an operation to a specific EntitySet.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers