Skip to content

Commit fd5adfa

Browse files
committed
SWS-245 in 1.0 branch
1 parent d901f11 commit fd5adfa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/src/main/java/org/springframework/ws/client/core/WebServiceTemplate.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
import org.apache.commons.logging.Log;
2929
import org.apache.commons.logging.LogFactory;
30+
3031
import org.springframework.beans.factory.BeanInitializationException;
3132
import org.springframework.core.io.ClassPathResource;
3233
import org.springframework.core.io.Resource;
@@ -412,8 +413,9 @@ public Object sendAndReceive(String uri,
412413
return handleFault(connection, request, response);
413414
}
414415
else {
416+
Object extracted = responseExtractor.extractData(response);
415417
logResponse(request, response);
416-
return responseExtractor.extractData(response);
418+
return extracted;
417419
}
418420
}
419421
else {

0 commit comments

Comments
 (0)