Dear All,

Im using the below httpclient code to send the pk12 file
Input stream is the stream obtained after reading pk12 file the same file is to 
be send to another endpoint
  MultipartEntity entity = new MultipartEntity();
  entity.addPart("file", new InputStreamBody(inputStream2, "test.p12"));
      Destination destination = getDestination(destinationName);
      HttpClient httpClient = destination.createHttpClient();
      HttpPost httpPost = getHttpPost(destination, endPoint);
      httpPost.setEntity(entity);
      response = httpClient.execute(httpPost);

However we are always getting

cannot-retry-request-with-a-non-repeatable-request-entity

Any Idea please help

Thanks,
Aparna

Reply via email to