Skip to content

Commit bc0694f

Browse files
committed
SWS-610 - Incompatibility with WS-I requirement R2750
1 parent 7dfe4a3 commit bc0694f

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
@@ -404,7 +404,9 @@ public boolean sendSourceAndReceiveToResult(String uri,
404404
new SourceExtractor() {
405405

406406
public Object extractData(Source source) throws IOException, TransformerException {
407-
transformer.transform(source, responseResult);
407+
if (source != null) {
408+
transformer.transform(source, responseResult);
409+
}
408410
return Boolean.TRUE;
409411
}
410412
});

0 commit comments

Comments
 (0)