diff --git a/spring-ws-core/src/main/java/org/springframework/ws/transport/http/HttpComponents5Connection.java b/spring-ws-core/src/main/java/org/springframework/ws/transport/http/HttpComponents5Connection.java index bfdc8bc5e..78c3ba2bf 100644 --- a/spring-ws-core/src/main/java/org/springframework/ws/transport/http/HttpComponents5Connection.java +++ b/spring-ws-core/src/main/java/org/springframework/ws/transport/http/HttpComponents5Connection.java @@ -121,6 +121,7 @@ protected OutputStream getRequestOutputStream() throws IOException { } @Override + @SuppressWarnings("deprecation") protected void onSendAfterWrite(WebServiceMessage message) throws IOException { String contentType = httpPost.getFirstHeader(HttpHeaders.CONTENT_TYPE).getValue();