I am calling a Restful web service call using Jersey client API 1.19. As in client side I have called web service once, but in turn the called web service is executing twice.
Is there any property to be set while calling in client side or while sending from service side
If not is there any other way to track the issue
as I had gone through WCF method called twice but It didn't helped me
My code is as follows
Client client = Client.create();
WebResource webResource = client.resource(baseuri);
webResource.method(POST);
ClientResponse response = webResource.accept("application/xml")
.type("application/xml").post(ClientResponse.class);