What steps will reproduce the problem?
1. Create JPAProducer with Tomcat7.
2. using odata (datajs impl) in SAP UI5(1.4.3) lib to create request
OData.request({
requestUri: "http://*url*/service.svc/" + "$batch",
method: "POST",
data: { __batchRequests: [
{ requestUri: "Customer(1)", method: "GET" },
{ requestUri: "Customer(2)", method: "GET" }
]
}
}, function (data, response) {
alert("function called");
}, undefined, OData.batchHandler);
What is the expected output? What do you see instead?
I would expect an array of 2 customers in the var data.
I do get 406 (Not Acceptable).
What version of the product are you using? On what operating system?
Win7, odata4j 0.6
Please provide any additional information below.
Original issue reported on code.google.com by mgamsja...@gmail.com on 15 Jul 2012 at 12:24
Original issue reported on code.google.com by
mgamsja...@gmail.com
on 15 Jul 2012 at 12:24