diff options
author | scottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-29 18:37:21 +0000 |
---|---|---|
committer | scottkurz <scottkurz@13f79535-47bb-0310-9956-ffa450edef68> | 2011-11-29 18:37:21 +0000 |
commit | cbb821713a2b00229ed4eb1c7f2b2d8ec75d6f50 (patch) | |
tree | b190af47aef0e1b1471c4d6204f413c19ae2d32f /sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws/src/main/java | |
parent | 7a8040658b3994b7c580df23e0e668d723d1ba34 (diff) |
Undo change in r1202210 whereby <wsa:To> should wrap a URI, not an EPR.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1208017 13f79535-47bb-0310-9956-ffa450edef68
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.java | 3 |
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 |