@ Override public void initialize ( HttpRequest httpRequest ) throws IOException { // Do not throw if execute fails, since Axis will handle unmarshalling the // fault. httpRequest . setThrowExceptionOnExecuteError ( false ) ; // For consistency with the default Axis HTTPSender and CommonsHTTPSender, do not // follow redirects. httpRequest . setFollowRedirects ( false ) ; // Retry should be handled by the client. httpRequest . setNumberOfRetries ( 0 ) ; }
Sets attributes of the request that are common to all requests for this handler .