uCosminexus Application Server, Web Service Development Guide
The JAX-WS engine on the Web Service client machine executes communication by using the HTTP client implementation of JDK. Contrary to RFC 2616, the HTTP client implementation of JDK resends a request only once when an error occurs in the HTTP communication and an appropriate response is not received from the server. You can use the system properties of JDK to prevent the resending of requests.
For preventing the resending of a request by the HTTP client implementation of JDK, set sun.net.http.retryPost=false in the system property. This is a standard system property supported by JDK 6 or later. For details on the system properties, see the JDK documentation.
The method for setting a property is the same method as that for setting a system property for establishing a connection according to the SSL protocol. For details on how to set a property, see 10.11(2) How to set a property.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.