summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-05-21 21:42:33 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2010-05-21 21:42:33 +0000
commited6f3914323ff4b67762719dedb906d4b8ab5fcc (patch)
tree5a00fc124fbcba6fb2588f4f899bc6b12944da2d
parent59d7eb7566b4c3ebda6916731d40c167e92fb27d (diff)
Remove the workaround
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947188 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingInvoker.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingInvoker.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingInvoker.java
index 5b7cc5b3b0..712eba0cea 100644
--- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingInvoker.java
+++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/provider/Axis2ReferenceBindingInvoker.java
@@ -40,7 +40,6 @@ import org.apache.axis2.client.OperationClient;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;
import org.apache.axis2.context.MessageContext;
-import org.apache.tuscany.sca.assembly.ComponentService;
import org.apache.tuscany.sca.assembly.Endpoint;
import org.apache.tuscany.sca.binding.ws.WebServiceBinding;
import org.apache.tuscany.sca.interfacedef.util.FaultException;
@@ -132,14 +131,6 @@ public class Axis2ReferenceBindingInvoker implements Invoker {
operationClient.setOptions(options);
Endpoint callbackEndpoint = msg.getFrom().getCallbackEndpoint();
-
- // [rfeng] This is a hack to populate the callback endpoint
- if (callbackEndpoint == null) {
- ComponentService callbackService = msg.getFrom().getReference().getCallbackService();
- if (callbackService != null && !callbackService.getEndpoints().isEmpty()) {
- callbackEndpoint = callbackService.getEndpoints().get(0);
- }
- }
// add WS-Addressing header
//FIXME: is there any way to use the Axis2 addressing support for this?