From 769edc55972dc6516e4d5965bf546aafbd1a24b7 Mon Sep 17 00:00:00 2001 From: slaws Date: Fri, 11 Jun 2010 10:54:34 +0000 Subject: If we need to set the property we should tell it to use the value we set. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@953654 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/tuscany/sca/binding/ws/jaxws/JAXWSBindingInvoker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sca-java-2.x/trunk/modules') 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 65bcc0cfd9..2efac9905c 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 @@ -59,7 +59,8 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics { private final static String SCA11_TUSCANY_NS = "http://tuscany.apache.org/xmlns/sca/1.1"; public static final String TUSCANY_PREFIX = "tuscany"; - public static final QName CALLBACK_ID_REFPARM_QN = new QName(SCA11_TUSCANY_NS, "CallbackID", TUSCANY_PREFIX); + public static final QName CALLBACK_ID_REFPARM_QN = + new QName(SCA11_TUSCANY_NS, "CallbackID", TUSCANY_PREFIX); public static final QName CONVERSATION_ID_REFPARM_QN = new QName(SCA11_TUSCANY_NS, "ConversationID", TUSCANY_PREFIX); @@ -192,6 +193,7 @@ public class JAXWSBindingInvoker implements Invoker, DataExchangeSemantics { // FIXME: We need to find out the soapAction String action = getSOAPAction(operation.getName()); if (action != null) { + dispatch.getRequestContext().put(Dispatch.SOAPACTION_USE_PROPERTY, true); dispatch.getRequestContext().put(Dispatch.SOAPACTION_URI_PROPERTY, action); } SOAPMessage response = dispatch.invoke(soapMessage); -- cgit v1.2.3