summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-12 16:20:53 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2010-02-12 16:20:53 +0000
commite9e603466e024d1c41f1c43432d7432ff10d85d7 (patch)
tree2cd98ecc5d410ae37e31a2aa7a658de5b49ebcfc /sca-java-2.x/trunk/modules
parentbd33c63da2568e01cb428e953ece0e48c59a5ba1 (diff)
Remove commented out code and tidy comments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@909482 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules')
-rw-r--r--sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceProvider.java24
1 files changed, 4 insertions, 20 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceProvider.java b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceProvider.java
index e1ac10ad2c..201f604b94 100644
--- a/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceProvider.java
+++ b/sca-java-2.x/trunk/modules/binding-ws-runtime-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceProvider.java
@@ -43,7 +43,7 @@ import org.apache.tuscany.sca.invocation.Message;
import org.apache.tuscany.sca.invocation.MessageFactory;
import org.apache.tuscany.sca.runtime.RuntimeEndpoint;
-public class Axis2ServiceProvider implements Provider<OMElement> {
+public class Axis2ServiceProvider implements Provider<OMElement> {
private static final Logger logger = Logger.getLogger(Axis2ServiceProvider.class.getName());
public static final QName QNAME_WSA_ADDRESS =
@@ -74,9 +74,10 @@ public class Axis2ServiceProvider implements Provider<OMElement> {
}
public OMElement invoke(OMElement arg0) {
+ // TODO - the interface for a JAX-WS provider.
+ // May make Axis2 integration cleaner
return null;
}
-
public Object invokeTarget(Operation op, Object[] args, MessageContext inMC) throws InvocationTargetException {
String callbackAddress = null;
@@ -99,24 +100,7 @@ public class Axis2ServiceProvider implements Provider<OMElement> {
callbackAddress = callbackAddrElement.getText();
}
}
- }
-
- // get policy specified headers
-/*
- for (Axis2HeaderPolicy policy : axis2HeaderPolicies) {
- //Axis2BindingHeaderConfigurator.getHeader(inMC, msg, policy.getHeaderName());
- }
-*/
-/*
- if (axis2TokenAuthenticationPolicy != null) {
- Axis2SOAPHeaderString tokenHeader = new Axis2SOAPHeaderString();
-
- Axis2BindingHeaderConfigurator.getHeader(inMC,
- msg,
- axis2TokenAuthenticationPolicy.getTokenName(),
- tokenHeader);
- }
-*/
+ }
}
// Create a from EPR to hold the details of the callback endpoint