vestabu / odata4j

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

batch operation in odata4j 0.7 does not work with .net client #229

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I am using attached .net client to issue a batch request, but the odata4j 0.7 
will not map it to EntitiesRequestResource.processBatch() method, instead it 
will be mapped to createEntity(). If I remove the @Path annotation from 
processBatch(), the mapping works, it will now try to call processBatch(), but 
failed when it prepared the parameters for the function, the error message is:

15:49:49,375 SEVERE [com.sun.jersey.spi.container.ContainerRequest] 
(http--0.0.0.0-8080-1) A message body reader for Java type, interface 
java.util.List, and MIME media type, multipart/mixed;boundary=
"batch_c5e372d2-274f-4104-b10d-fdcbf9be733b", was not found

Also, how to issue batch operation using odata4j client?

Thanks
Kevin

Original issue reported on code.google.com by kchen...@yahoo.com on 16 Nov 2012 at 10:06

Attachments: