Skip to Content
avatar image
Former Member

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


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.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 05, 2018 at 02:59 AM

    Have you tried just /java/odata/v4/? This should show the list of service(s)



    Add comment
    10|10000 characters needed characters exceeded