summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-09-17 18:21:33 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-09-17 18:21:33 +0000
commit185b63f3e941f5a7b96228c0102847f2069f6d1b (patch)
tree5d53a4326872a34de63970ce2e366139118d4777 /java/sca/modules
parent97878b452eb1a1fcd35d172ecc05cee9d97cfd8c (diff)
Remove the dependency on Axis2
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696389 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/binding-sca-corba/pom.xml24
-rw-r--r--java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java9
2 files changed, 4 insertions, 29 deletions
diff --git a/java/sca/modules/binding-sca-corba/pom.xml b/java/sca/modules/binding-sca-corba/pom.xml
index 138577eb95..52b41e9e45 100644
--- a/java/sca/modules/binding-sca-corba/pom.xml
+++ b/java/sca/modules/binding-sca-corba/pom.xml
@@ -83,30 +83,6 @@
<version>1.4-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-kernel</artifactId>
- <version>1.3</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-launcher</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
</dependencies>
<build>
diff --git a/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java b/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java
index f2ab5e94a0..69466448a5 100644
--- a/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java
+++ b/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java
@@ -26,7 +26,6 @@ import javax.xml.stream.XMLStreamException;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.impl.llom.util.AXIOMUtil;
-import org.apache.axis2.AxisFault;
import org.apache.tuscany.sca.binding.corba.impl.exceptions.RequestConfigurationException;
import org.apache.tuscany.sca.binding.corba.impl.reference.DynaCorbaRequest;
import org.apache.tuscany.sca.binding.corba.impl.reference.DynaCorbaResponse;
@@ -68,10 +67,10 @@ public class CorbaSCAInvoker implements Invoker {
} catch (WrappedSCAException e) {
try {
OMElement exceptionOM = AXIOMUtil.stringToOM(e.getFault());
- AxisFault axisFault = new AxisFault("");
- axisFault.setDetail(exceptionOM);
- FaultException f = new FaultException(axisFault.getMessage(), axisFault.getDetail(), axisFault);
- f.setFaultName(axisFault.getDetail().getQName());
+ // AxisFault axisFault = new AxisFault("");
+ // axisFault.setDetail(exceptionOM);
+ FaultException f = new FaultException(e.getMessage(), exceptionOM, null);
+ f.setFaultName(exceptionOM.getQName());
msg.setFaultBody(f);
} catch (XMLStreamException e1) {
}