Repository: cxf Updated Branches: refs/heads/3.0.x-fixes da66c89c1 -> 3533b2858
[CXF-7087] Fixing a typo Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3533b285 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3533b285 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3533b285 Branch: refs/heads/3.0.x-fixes Commit: 3533b2858328e4b63b4f84842456188beb9275fd Parents: da66c89 Author: Sergey Beryozkin <sberyoz...@gmail.com> Authored: Thu Oct 13 13:37:26 2016 +0100 Committer: Sergey Beryozkin <sberyoz...@gmail.com> Committed: Thu Oct 13 13:38:58 2016 +0100 ---------------------------------------------------------------------- .../java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/3533b285/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java ---------------------------------------------------------------------- diff --git a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java index 07f835f..cbd9b71 100644 --- a/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java +++ b/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetOutInterceptor.java @@ -53,10 +53,11 @@ public class WSDLGetOutInterceptor extends AbstractPhaseInterceptor<Message> { } message.put(Message.CONTENT_TYPE, "text/xml"); try { - StaxUtils.writeDocument(doc, writer, true, + StaxUtils.writeDocument(doc, writer, !MessageUtils.getContextualBoolean(message, StaxOutInterceptor.FORCE_START_DOCUMENT, - false)); + false), + true); } catch (XMLStreamException e) { throw new Fault(e); }