summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
index 25c6e358bb..a68d7691ba 100644
--- a/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
+++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java/org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java
@@ -377,8 +377,7 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics {
// wsaToOM.setText( address );
// sh.addChild(wsaToOM);
SOAPHeaderElement toH = sh.addHeaderElement(QNAME_WSA_TO);
- SOAPElement toAddress = toH.addChildElement(QNAME_WSA_ADDRESS);
- toAddress.setTextContent(address);
+ toH.setTextContent(address);
// Deal with Reference Parameters, if present - copy to the header
// without the wsa:ReferenceParameters wrapper