Repository: cxf Updated Branches: refs/heads/3.1.x-fixes b86ac6d0d -> b6191970a
[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/b6191970 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b6191970 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b6191970 Branch: refs/heads/3.1.x-fixes Commit: b6191970a3fa77dae288b1aa72d0315fec13791a Parents: b86ac6d 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:16 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/b6191970/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); }