eclipse-ee4j / eclipse-ee4j/jersey
Jersey client seems to create dupliate requests
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
we're using Jersey v1.12 in a PROD environnement for Banking purpose.
Since we're are getting duplicates requests received on the server side and nothing indicates that the client send two but I'd like to see with you guys if you now anything that could be related to the Jersey api and the way we implemented it.
public CertaPayResponse postApplicationXmlAsCertaPayResponse(CertaPayRequest input) {
UriBuilder localUriBuilder = _uriBuilder.clone();
WebResource resource = _client.resource(localUriBuilder.buildFromMap(_templateAndMatrixParameterValues));
WebResource.Builder resourceBuilder = resource.getRequestBuilder();
resourceBuilder = resourceBuilder.type("application/xml");
resourceBuilder = resourceBuilder.accept("application/xml");
return resourceBuilder.method("POST", CertaPayResponse.class, input);
Thanks for your help.
Pat
#### Environment
PROD
#### Affected Versions
[1.12]
Contributor guide
Assessment
This issue has not been assessed yet.