tapvanvn / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Implement support for FunctionImport returning EntitiesResponse type #217

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Implement a function import which returns a BaseResponse of type 
EntitiesResponse
2. Call the function - get NotImplementedException from 
FunctionResource.callFunction()

What is the expected output? What do you see instead?
Should handle EntitiesResponse function return - instead seeing 
NotImplementedException

What version of the product are you using? On what operating system?
0.7.0

Please provide any additional information below.
Should be an easy addition since code is already in place in this method to 
convert a collection of entities in a CollectionResponse to a EntitiesResponse.

Original issue reported on code.google.com by mark.los...@ca.com on 13 Sep 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Can't reproduce. There is a test case available returning EntitiesResponse:

org.odata4j.test.integration.function.FunctionImportTest:
   testFunctionReturnEntitySet()

Original comment by stephan....@googlemail.com on 19 Sep 2012 at 8:41