jersey
jersey copied to clipboard
Jersey client seems to create dupliate requests
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]
Reported by pvsurnt
This issue was imported from java.net JIRA JERSEY-3192
I am facing this too. Is there any solution/workaround? I use v 1.19; So, has this been resolved/reported in the newer versions?