Skip to content

Instantly share code, notes, and snippets.

@ilgrosso
Last active December 20, 2015 00:08
ODataJClient: Service Document sample
ODataServiceDocumentRequest req =
ODataRetrieveRequestFactory.getServiceDocumentRequest(testODataServiceRootURL);
ODataServiceDocument serviceDocument = req.execute().getBody();
Collection<String> topLevelEntitySetNames = getEntitySetNames();
Collection<URI> topLevelEntitySetURIs = getEntitySetURIs();
URI customerURI = getEntitySetURI("Customer");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment