From cbb821713a2b00229ed4eb1c7f2b2d8ec75d6f50 Mon Sep 17 00:00:00 2001 From: scottkurz Date: Tue, 29 Nov 2011 18:37:21 +0000 Subject: Undo change in r1202210 whereby should wrap a URI, not an EPR. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1208017 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sca-java-2.x/trunk/modules/binding-ws-runtime-jaxws') 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 -- cgit v1.2.3