We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b56a20 commit 633ddc1Copy full SHA for 633ddc1
jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java
@@ -492,7 +492,7 @@ public SOAPElement flushTo(final SOAPElement target) throws XMLStreamException {
492
}
493
// add namespace declarations
494
for (NamespaceDeclaration namespace : this.namespaceDeclarations) {
495
- target.addNamespaceDeclaration(namespace.prefix, namespace.namespaceUri);
+ newElement.addNamespaceDeclaration(namespace.prefix, namespace.namespaceUri);
496
497
// add attribute declarations
498
for (AttributeDeclaration attribute : this.attributeDeclarations) {
0 commit comments