Hello Group, We have a use case where we want to create a batch request with change set containing list of request to be executed. Below is the sample code for the same:
*BatchRequestFactory batchRequestFactory = client.getBatchRequestFactory();* *ODataBatchRequest batchRequest = batchRequestFactory.getBatchRequest(<serviceRoot>);* *BatchManager payloadManager = batchRequest.payloadManager(); /// Fails to get payloadManager here with "While reading input for not chunked encoding" exception* *ODataChangeset changeSet = payloadManager.addChangeset();* *// Add all the requests present in the list using loop* *changeSet.addRequest(batchableRequest);* The issue we are facing is that we fail retrieve the payloadManager from batch request if we set the client configuration with "chunking=false" i.e *client.getConfiguration().setUseChuncked(false);* But it works fine if we set it to true i.e client.getConfiguration().setUseChuncked(true). Is this the expected behavior? Shouldn't this work with configuration of setUseChuncked(false) as well? Thanks & Regards Ratish Bansal
