summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/assembly-xml/pom.xml2
-rw-r--r--java/sca/modules/binding-atom-abdera/pom.xml4
-rw-r--r--java/sca/modules/binding-atom/pom.xml2
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java2
-rw-r--r--java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java2
-rw-r--r--java/sca/modules/binding-dwr/pom.xml2
-rw-r--r--java/sca/modules/binding-ejb-runtime/pom.xml2
-rw-r--r--java/sca/modules/binding-ejb/pom.xml2
-rw-r--r--java/sca/modules/binding-feed/pom.xml6
-rw-r--r--java/sca/modules/binding-gdata-gsoc/pom.xml2
-rw-r--r--java/sca/modules/binding-gdata-runtime-gsoc/pom.xml6
-rw-r--r--java/sca/modules/binding-gdata-runtime/pom.xml6
-rw-r--r--java/sca/modules/binding-gdata/pom.xml2
-rw-r--r--java/sca/modules/binding-http-runtime/pom.xml2
-rw-r--r--java/sca/modules/binding-http/pom.xml2
-rw-r--r--java/sca/modules/binding-jms-runtime/pom.xml2
-rw-r--r--java/sca/modules/binding-jms/pom.xml2
-rw-r--r--java/sca/modules/binding-jsonrpc-runtime/pom.xml4
-rw-r--r--java/sca/modules/binding-jsonrpc/pom.xml2
-rw-r--r--java/sca/modules/binding-notification/pom.xml8
-rw-r--r--java/sca/modules/binding-rss-rome/pom.xml6
-rw-r--r--java/sca/modules/binding-rss/pom.xml2
-rw-r--r--java/sca/modules/binding-sca-axis2/pom.xml7
-rw-r--r--java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java3
-rw-r--r--java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvoker.java21
-rw-r--r--java/sca/modules/binding-ws-axis2-policy/pom.xml10
-rw-r--r--java/sca/modules/binding-ws-axis2/pom.xml162
-rw-r--r--java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/AbstractHelloWorldOMTestCase.java15
-rw-r--r--java/sca/modules/binding-ws-wsdlgen/pom.xml2
-rw-r--r--java/sca/modules/contribution-groovy/pom.xml2
-rw-r--r--java/sca/modules/contribution-impl/pom.xml2
-rw-r--r--java/sca/modules/contribution-java/pom.xml2
-rw-r--r--java/sca/modules/contribution-namespace/pom.xml2
-rw-r--r--java/sca/modules/contribution-osgi/pom.xml2
-rw-r--r--java/sca/modules/contribution-resource/pom.xml2
-rw-r--r--java/sca/modules/contribution-xml/pom.xml2
-rw-r--r--java/sca/modules/core-databinding/pom.xml2
-rw-r--r--java/sca/modules/core-spi/pom.xml2
-rw-r--r--java/sca/modules/core/pom.xml2
-rw-r--r--java/sca/modules/databinding-axiom/pom.xml8
-rw-r--r--java/sca/modules/databinding-jaxb-axiom/pom.xml4
-rw-r--r--java/sca/modules/databinding-json/pom.xml8
-rw-r--r--java/sca/modules/databinding-sdo-axiom/pom.xml6
-rw-r--r--java/sca/modules/databinding-xmlbeans/pom.xml2
-rw-r--r--java/sca/modules/databinding-xstream/pom.xml8
-rw-r--r--java/sca/modules/databinding/pom.xml2
-rw-r--r--java/sca/modules/extension-helper/pom.xml2
-rw-r--r--java/sca/modules/host-webapp-junit/pom.xml2
-rw-r--r--java/sca/modules/implementation-data-xml/pom.xml2
-rw-r--r--java/sca/modules/implementation-ejb/pom.xml2
-rw-r--r--java/sca/modules/implementation-node-runtime/pom.xml2
-rw-r--r--java/sca/modules/implementation-node/pom.xml2
-rw-r--r--java/sca/modules/implementation-notification/pom.xml2
-rw-r--r--java/sca/modules/implementation-osgi/pom.xml2
-rw-r--r--java/sca/modules/implementation-resource-runtime/pom.xml2
-rw-r--r--java/sca/modules/implementation-resource/pom.xml2
-rw-r--r--java/sca/modules/implementation-script/pom.xml8
-rw-r--r--java/sca/modules/implementation-web-runtime/pom.xml2
-rw-r--r--java/sca/modules/implementation-web/pom.xml2
-rw-r--r--java/sca/modules/implementation-widget-runtime/pom.xml2
-rw-r--r--java/sca/modules/implementation-widget/pom.xml2
-rw-r--r--java/sca/modules/implementation-xquery/pom.xml2
-rw-r--r--java/sca/modules/interface-java-jaxws/pom.xml2
-rw-r--r--java/sca/modules/interface-wsdl/pom.xml2
-rw-r--r--java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java12
-rw-r--r--java/sca/modules/node-manager/pom.xml2
-rw-r--r--java/sca/modules/policy-security-ws/pom.xml10
-rw-r--r--java/sca/modules/policy-security/pom.xml6
-rw-r--r--java/sca/modules/policy-xml-ws/pom.xml10
-rw-r--r--java/sca/modules/policy-xml/pom.xml2
-rw-r--r--java/sca/modules/pom.xml4
-rw-r--r--java/sca/modules/workspace-xml/pom.xml2
-rw-r--r--java/sca/modules/xsd-xml/src/main/java/org/apache/tuscany/sca/xsd/xml/XSDModelResolver.java24
-rw-r--r--java/sca/modules/xsd/pom.xml2
74 files changed, 210 insertions, 254 deletions
diff --git a/java/sca/modules/assembly-xml/pom.xml b/java/sca/modules/assembly-xml/pom.xml
index cd439d3216..246f89619b 100644
--- a/java/sca/modules/assembly-xml/pom.xml
+++ b/java/sca/modules/assembly-xml/pom.xml
@@ -74,7 +74,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/binding-atom-abdera/pom.xml b/java/sca/modules/binding-atom-abdera/pom.xml
index f10497c9c5..9c9c204dcc 100644
--- a/java/sca/modules/binding-atom-abdera/pom.xml
+++ b/java/sca/modules/binding-atom-abdera/pom.xml
@@ -161,7 +161,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
@@ -180,7 +180,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
diff --git a/java/sca/modules/binding-atom/pom.xml b/java/sca/modules/binding-atom/pom.xml
index 388f203e1d..961d564af6 100644
--- a/java/sca/modules/binding-atom/pom.xml
+++ b/java/sca/modules/binding-atom/pom.xml
@@ -53,7 +53,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java
index 93256d7381..7fc58c9b96 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaServantTestCase.java
@@ -551,7 +551,7 @@ public class CorbaServantTestCase {
for (int i = 0; i < struct.threeDimArray.length; i++) {
for (int j = 0; j < struct.threeDimArray[i].length; j++) {
for (int k = 0; k < struct.threeDimArray[i][j].length; k++) {
- assertEquals(struct.threeDimArray[i][j][k], structResult.threeDimArray[i][j][k]);
+ assertEquals(struct.threeDimArray[i][j][k], structResult.threeDimArray[i][j][k], 0.0);
}
}
}
diff --git a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java
index 927f43652b..6521255d3b 100644
--- a/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java
+++ b/java/sca/modules/binding-corba-runtime/src/test/java/org/apache/tuscany/sca/binding/corba/testing/CorbaTypesTestCase.java
@@ -713,7 +713,7 @@ public class CorbaTypesTestCase {
for (int i = 0; i < arg.field2.length; i++) {
for (int j = 0; j < arg.field2[i].length; j++) {
for (int k = 0; k < arg.field3[i][j].length; k++) {
- assertEquals(arg.field3[i][j][k], result.field3[i][j][k]);
+ assertEquals(arg.field3[i][j][k], result.field3[i][j][k], 0.0);
}
}
}
diff --git a/java/sca/modules/binding-dwr/pom.xml b/java/sca/modules/binding-dwr/pom.xml
index dd91356a21..1595daa5bf 100644
--- a/java/sca/modules/binding-dwr/pom.xml
+++ b/java/sca/modules/binding-dwr/pom.xml
@@ -60,7 +60,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-ejb-runtime/pom.xml b/java/sca/modules/binding-ejb-runtime/pom.xml
index 38a6d9b19d..c89585c95c 100644
--- a/java/sca/modules/binding-ejb-runtime/pom.xml
+++ b/java/sca/modules/binding-ejb-runtime/pom.xml
@@ -60,7 +60,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-ejb/pom.xml b/java/sca/modules/binding-ejb/pom.xml
index 0a3b0c5967..be8ca05164 100644
--- a/java/sca/modules/binding-ejb/pom.xml
+++ b/java/sca/modules/binding-ejb/pom.xml
@@ -58,7 +58,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/binding-feed/pom.xml b/java/sca/modules/binding-feed/pom.xml
index 1adffb5a84..046bee6acb 100644
--- a/java/sca/modules/binding-feed/pom.xml
+++ b/java/sca/modules/binding-feed/pom.xml
@@ -69,7 +69,7 @@
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
- <version>3.0.1</version>
+ <version>3.1</version>
</dependency>
<dependency>
@@ -109,7 +109,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
@@ -128,7 +128,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
diff --git a/java/sca/modules/binding-gdata-gsoc/pom.xml b/java/sca/modules/binding-gdata-gsoc/pom.xml
index 173dcbe0b8..f09f835f8e 100644
--- a/java/sca/modules/binding-gdata-gsoc/pom.xml
+++ b/java/sca/modules/binding-gdata-gsoc/pom.xml
@@ -51,7 +51,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml b/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
index 2f216faa55..f09be65efa 100644
--- a/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
+++ b/java/sca/modules/binding-gdata-runtime-gsoc/pom.xml
@@ -88,7 +88,7 @@
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
- <version>3.0.1</version>
+ <version>3.1</version>
</dependency>
<dependency>
@@ -146,7 +146,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
@@ -165,7 +165,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
diff --git a/java/sca/modules/binding-gdata-runtime/pom.xml b/java/sca/modules/binding-gdata-runtime/pom.xml
index ec29af0b0f..2bd2ac6060 100644
--- a/java/sca/modules/binding-gdata-runtime/pom.xml
+++ b/java/sca/modules/binding-gdata-runtime/pom.xml
@@ -81,7 +81,7 @@
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
- <version>3.0.1</version>
+ <version>3.1</version>
</dependency>
<dependency>
@@ -139,7 +139,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<artifactId>servlet-api</artifactId>
@@ -155,7 +155,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-gdata/pom.xml b/java/sca/modules/binding-gdata/pom.xml
index 96f43ffeb0..cf918652a6 100644
--- a/java/sca/modules/binding-gdata/pom.xml
+++ b/java/sca/modules/binding-gdata/pom.xml
@@ -45,7 +45,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-http-runtime/pom.xml b/java/sca/modules/binding-http-runtime/pom.xml
index cd3d0e7c99..106afac21f 100644
--- a/java/sca/modules/binding-http-runtime/pom.xml
+++ b/java/sca/modules/binding-http-runtime/pom.xml
@@ -86,7 +86,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-http/pom.xml b/java/sca/modules/binding-http/pom.xml
index 919f4c3d2b..676492413f 100644
--- a/java/sca/modules/binding-http/pom.xml
+++ b/java/sca/modules/binding-http/pom.xml
@@ -58,7 +58,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-jms-runtime/pom.xml b/java/sca/modules/binding-jms-runtime/pom.xml
index 18085ccebf..e8527eda7f 100644
--- a/java/sca/modules/binding-jms-runtime/pom.xml
+++ b/java/sca/modules/binding-jms-runtime/pom.xml
@@ -114,7 +114,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-jms/pom.xml b/java/sca/modules/binding-jms/pom.xml
index 21535235fb..e7dd413a78 100644
--- a/java/sca/modules/binding-jms/pom.xml
+++ b/java/sca/modules/binding-jms/pom.xml
@@ -39,7 +39,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-jsonrpc-runtime/pom.xml b/java/sca/modules/binding-jsonrpc-runtime/pom.xml
index 598f92f324..8ec5e52a0f 100644
--- a/java/sca/modules/binding-jsonrpc-runtime/pom.xml
+++ b/java/sca/modules/binding-jsonrpc-runtime/pom.xml
@@ -89,7 +89,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
@@ -121,7 +121,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/binding-jsonrpc/pom.xml b/java/sca/modules/binding-jsonrpc/pom.xml
index e3198d3726..f479b2e07c 100644
--- a/java/sca/modules/binding-jsonrpc/pom.xml
+++ b/java/sca/modules/binding-jsonrpc/pom.xml
@@ -45,7 +45,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/binding-notification/pom.xml b/java/sca/modules/binding-notification/pom.xml
index 43ae0a2552..98cc576864 100644
--- a/java/sca/modules/binding-notification/pom.xml
+++ b/java/sca/modules/binding-notification/pom.xml
@@ -63,7 +63,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -93,7 +93,7 @@
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
@@ -112,7 +112,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
<dependency>
@@ -124,7 +124,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/binding-rss-rome/pom.xml b/java/sca/modules/binding-rss-rome/pom.xml
index d0027caef6..19796b37f1 100644
--- a/java/sca/modules/binding-rss-rome/pom.xml
+++ b/java/sca/modules/binding-rss-rome/pom.xml
@@ -75,7 +75,7 @@
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
- <version>3.0.1</version>
+ <version>3.1</version>
</dependency>
<dependency>
@@ -115,7 +115,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
@@ -134,7 +134,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
diff --git a/java/sca/modules/binding-rss/pom.xml b/java/sca/modules/binding-rss/pom.xml
index aeed176e8a..cd51de1088 100644
--- a/java/sca/modules/binding-rss/pom.xml
+++ b/java/sca/modules/binding-rss/pom.xml
@@ -71,7 +71,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/binding-sca-axis2/pom.xml b/java/sca/modules/binding-sca-axis2/pom.xml
index 2314c139c8..3ca3e1f76b 100644
--- a/java/sca/modules/binding-sca-axis2/pom.xml
+++ b/java/sca/modules/binding-sca-axis2/pom.xml
@@ -52,13 +52,6 @@
</dependency>
<dependency>
- <groupId>org.easymock</groupId>
- <artifactId>easymock</artifactId>
- <version>2.2</version>
- <scope>test</scope>
- </dependency>
-
- <dependency>
<groupId>org.apache.tuscany.sca</groupId>
<artifactId>tuscany-host-jetty</artifactId>
<version>1.4-SNAPSHOT</version>
diff --git a/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java b/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java
index 40f55ddb71..a9cc890616 100644
--- a/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java
+++ b/java/sca/modules/binding-sca-corba/src/main/java/org/apache/tuscany/sca/binding/sca/corba/impl/CorbaSCAInvocationProxy.java
@@ -28,7 +28,6 @@ import java.util.logging.Logger;
import javax.xml.stream.XMLStreamException;
import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.impl.llom.util.AXIOMUtil;
import org.apache.tuscany.sca.binding.corba.impl.exceptions.RequestConfigurationException;
import org.apache.tuscany.sca.binding.corba.impl.service.InvocationException;
import org.apache.tuscany.sca.binding.corba.impl.service.InvocationProxy;
@@ -69,7 +68,7 @@ public class CorbaSCAInvocationProxy implements InvocationProxy {
public Object invoke(String operationName, List<Object> arguments) throws InvocationException {
try {
- OMElement omContent = AXIOMUtil.stringToOM((String)arguments.get(0));
+ OMElement omContent = CorbaSCAInvoker.stringToOM((String)arguments.get(0));
String componentOperationName = omContent.getQName().getLocalPart();
Operation componentOperation = null;
for (Operation operation : componentInterface.getOperations()) {
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 60c93d5548..32d5650f37 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
@@ -19,13 +19,14 @@
package org.apache.tuscany.sca.binding.sca.corba.impl;
+import java.io.ByteArrayInputStream;
import java.lang.reflect.Method;
import java.util.Map;
import javax.xml.stream.XMLStreamException;
import org.apache.axiom.om.OMElement;
-import org.apache.axiom.om.impl.llom.util.AXIOMUtil;
+import org.apache.axiom.om.impl.builder.StAXOMBuilder;
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;
@@ -62,11 +63,11 @@ public class CorbaSCAInvoker implements Invoker {
String arg = omElement.toStringWithConsume();
request.addArgument(arg);
DynaCorbaResponse response = request.invoke();
- OMElement responseOM = AXIOMUtil.stringToOM((String)response.getContent());
+ OMElement responseOM = stringToOM((String)response.getContent());
msg.setBody(responseOM);
} catch (WrappedSCAException e) {
try {
- OMElement exceptionOM = AXIOMUtil.stringToOM(e.getFault());
+ OMElement exceptionOM = stringToOM(e.getFault());
// AxisFault axisFault = new AxisFault("");
// axisFault.setDetail(exceptionOM);
FaultException f = new FaultException(e.getMessage(), exceptionOM, e);
@@ -81,4 +82,18 @@ public class CorbaSCAInvoker implements Invoker {
}
return msg;
}
+
+ /**
+ * This will help you to create an OMElement from an xml fragment which you have as a string.
+ *
+ * @param xmlFragment - the well-formed xml fragment
+ * @return The OMElement created out of the string xml fragment.
+ * @throws XMLStreamException
+ */
+ static OMElement stringToOM(String xmlFragment) throws XMLStreamException {
+ if (xmlFragment != null) {
+ return new StAXOMBuilder(new ByteArrayInputStream(xmlFragment.getBytes())).getDocumentElement();
+ }
+ return null;
+ }
}
diff --git a/java/sca/modules/binding-ws-axis2-policy/pom.xml b/java/sca/modules/binding-ws-axis2-policy/pom.xml
index 7b3627c170..643a00030c 100644
--- a/java/sca/modules/binding-ws-axis2-policy/pom.xml
+++ b/java/sca/modules/binding-ws-axis2-policy/pom.xml
@@ -68,19 +68,19 @@
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>backport-util-concurrent</groupId>
@@ -100,14 +100,14 @@
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
- <version>3.0</version>
+ <version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.neethi</groupId>
<artifactId>neethi</artifactId>
- <version>2.0.2</version>
+ <version>2.0.4</version>
<exclusions>
<exclusion>
<groupId>wsdl4j</groupId>
diff --git a/java/sca/modules/binding-ws-axis2/pom.xml b/java/sca/modules/binding-ws-axis2/pom.xml
index 519f9d681a..b593e8075f 100644
--- a/java/sca/modules/binding-ws-axis2/pom.xml
+++ b/java/sca/modules/binding-ws-axis2/pom.xml
@@ -104,7 +104,7 @@
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
@@ -128,7 +128,7 @@
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-java2wsdl</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
@@ -160,7 +160,7 @@
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-adb</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -177,7 +177,7 @@
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-codegen</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -212,13 +212,13 @@
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>stax</groupId>
@@ -227,17 +227,17 @@
</exclusions>
</dependency>
- <dependency>
+ <!--dependency>
<groupId>org.apache.woden</groupId>
<artifactId>woden</artifactId>
<version>1.0-incubating-M7b</version>
<scope>runtime</scope>
- </dependency>
+ </dependency-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>javax.servlet</groupId>
@@ -262,7 +262,7 @@
<dependency>
<groupId>org.apache.neethi</groupId>
<artifactId>neethi</artifactId>
- <version>2.0.2</version>
+ <version>2.0.4</version>
<exclusions>
<exclusion>
<groupId>wsdl4j</groupId>
@@ -278,13 +278,13 @@
<dependency>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
- <version>1.3.2</version>
+ <version>1.4.2</version>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
- <version>3.0.1</version>
+ <version>3.1</version>
</dependency>
<dependency>
@@ -296,7 +296,7 @@
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
- <version>2.2</version>
+ <version>3.1</version>
<scope>runtime</scope>
</dependency>
@@ -330,7 +330,7 @@
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-mtompolicy</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>xalan</groupId>
@@ -371,143 +371,49 @@
<dependency>
<groupId>org.apache.rampart</groupId>
<artifactId>rampart-core</artifactId>
- <version>1.3</version>
+ <version>1.4</version>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-kernel</artifactId>
+ </exclusion>
<exclusion>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-xmlbeans</artifactId>
</exclusion>
- <exclusion>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-codegen</artifactId>
</exclusion>
- <!-- Exclude XmlSchema 1.3.1 -->
- <exclusion>
- <groupId>org.apache.ws.commons.schema</groupId>
- <artifactId>XmlSchema</artifactId>
- </exclusion>
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.apache.rampart</groupId>
- <artifactId>rampart-policy</artifactId>
- <version>1.3</version>
- <exclusions>
+ <exclusion>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-mex</artifactId>
+ </exclusion>
<exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-nodeps</artifactId>
+ <groupId>org.apache.axis2</groupId>
+ <artifactId>axis2-adb-codegen</artifactId>
</exclusion>
<exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-xmlbeans</artifactId>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
</exclusion>
- <exclusion>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean</artifactId>
- </exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
- <exclusion>
- <groupId>backport-util-concurrent</groupId>
- <artifactId>backport-util-concurrent</artifactId>
- </exclusion>
- <exclusion>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- </exclusion>
<!-- Exclude XmlSchema 1.3.1 -->
<exclusion>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
</exclusion>
-
- <exclusion>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- </exclusion>
-
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.apache.rampart</groupId>
- <artifactId>rampart-trust</artifactId>
- <version>1.3</version>
- <exclusions>
- <exclusion>
- <groupId>org.apache.ant</groupId>
- <artifactId>ant-nodeps</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.axis2</groupId>
- <artifactId>axis2-xmlbeans</artifactId>
- </exclusion>
- <exclusion>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>wsdl4j</groupId>
- <artifactId>wsdl4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>backport-util-concurrent</groupId>
- <artifactId>backport-util-concurrent</artifactId>
- </exclusion>
<exclusion>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
</exclusion>
-
-
- <!-- Exclude XmlSchema 1.3.1 -->
- <exclusion>
- <groupId>org.apache.ws.commons.schema</groupId>
- <artifactId>XmlSchema</artifactId>
- </exclusion>
<exclusion>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
@@ -520,19 +426,21 @@
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
-
</exclusions>
</dependency>
+
+<!--
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
- <version>3.0</version>
+ <version>3.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
- </dependency>
+ </dependency>
+-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
diff --git a/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/AbstractHelloWorldOMTestCase.java b/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/AbstractHelloWorldOMTestCase.java
index 395cfe28d6..458a472479 100644
--- a/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/AbstractHelloWorldOMTestCase.java
+++ b/java/sca/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/policy/mixed/AbstractHelloWorldOMTestCase.java
@@ -20,7 +20,6 @@
package org.apache.tuscany.sca.binding.ws.axis2.itests.policy.mixed;
import junit.framework.Assert;
-import junit.framework.TestCase;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMElement;
@@ -28,12 +27,16 @@ import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.OMText;
import org.apache.tuscany.sca.binding.ws.axis2.itests.HelloWorldOM;
import org.apache.tuscany.sca.host.embedded.SCADomain;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
-public abstract class AbstractHelloWorldOMTestCase extends TestCase {
+public abstract class AbstractHelloWorldOMTestCase {
private SCADomain domain;
private HelloWorldOM helloWorld;
+ @Test
public void testHelloWorld() throws Exception {
OMFactory fac = OMAbstractFactory.getOMFactory();
OMElement requestOM = fac.createOMElement("getGreetings", "http://helloworld-om", "helloworld");
@@ -45,14 +48,14 @@ public abstract class AbstractHelloWorldOMTestCase extends TestCase {
Assert.assertEquals("Hello petra", ((OMText)child.getFirstOMChild()).getText());
}
- @Override
- protected void setUp() throws Exception {
+ @Before
+ public void setUp() throws Exception {
domain = SCADomain.newInstance(getCompositeName());
helloWorld = domain.getService(HelloWorldOM.class, "HelloWorldComponent");
}
- @Override
- protected void tearDown() throws Exception {
+ @After
+ public void tearDown() throws Exception {
domain.close();
}
diff --git a/java/sca/modules/binding-ws-wsdlgen/pom.xml b/java/sca/modules/binding-ws-wsdlgen/pom.xml
index fbc6dc4082..3afa296bc1 100644
--- a/java/sca/modules/binding-ws-wsdlgen/pom.xml
+++ b/java/sca/modules/binding-ws-wsdlgen/pom.xml
@@ -74,7 +74,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
<dependency>
diff --git a/java/sca/modules/contribution-groovy/pom.xml b/java/sca/modules/contribution-groovy/pom.xml
index dafcf42628..9a9f709346 100644
--- a/java/sca/modules/contribution-groovy/pom.xml
+++ b/java/sca/modules/contribution-groovy/pom.xml
@@ -58,7 +58,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/contribution-impl/pom.xml b/java/sca/modules/contribution-impl/pom.xml
index ff83cff49c..c971f1390d 100644
--- a/java/sca/modules/contribution-impl/pom.xml
+++ b/java/sca/modules/contribution-impl/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/contribution-java/pom.xml b/java/sca/modules/contribution-java/pom.xml
index 153a4f7c5e..8e57661a84 100644
--- a/java/sca/modules/contribution-java/pom.xml
+++ b/java/sca/modules/contribution-java/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/contribution-namespace/pom.xml b/java/sca/modules/contribution-namespace/pom.xml
index 39e011dbe2..c2c4c51bfb 100644
--- a/java/sca/modules/contribution-namespace/pom.xml
+++ b/java/sca/modules/contribution-namespace/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/contribution-osgi/pom.xml b/java/sca/modules/contribution-osgi/pom.xml
index 5622978bd9..284d70ca21 100644
--- a/java/sca/modules/contribution-osgi/pom.xml
+++ b/java/sca/modules/contribution-osgi/pom.xml
@@ -64,7 +64,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/contribution-resource/pom.xml b/java/sca/modules/contribution-resource/pom.xml
index da19a5249c..5a2422ed4c 100644
--- a/java/sca/modules/contribution-resource/pom.xml
+++ b/java/sca/modules/contribution-resource/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/contribution-xml/pom.xml b/java/sca/modules/contribution-xml/pom.xml
index b1a06c2d11..4fb3e06a57 100644
--- a/java/sca/modules/contribution-xml/pom.xml
+++ b/java/sca/modules/contribution-xml/pom.xml
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/core-databinding/pom.xml b/java/sca/modules/core-databinding/pom.xml
index cb88bcd176..b665593aca 100644
--- a/java/sca/modules/core-databinding/pom.xml
+++ b/java/sca/modules/core-databinding/pom.xml
@@ -77,7 +77,7 @@
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
<scope>runtime</scope>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<exclusions>
<exclusion>
<groupId>stax</groupId>
diff --git a/java/sca/modules/core-spi/pom.xml b/java/sca/modules/core-spi/pom.xml
index 6246686d08..e8cb583819 100644
--- a/java/sca/modules/core-spi/pom.xml
+++ b/java/sca/modules/core-spi/pom.xml
@@ -82,7 +82,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/core/pom.xml b/java/sca/modules/core/pom.xml
index b71f001d06..17da5a4d2b 100644
--- a/java/sca/modules/core/pom.xml
+++ b/java/sca/modules/core/pom.xml
@@ -68,7 +68,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/databinding-axiom/pom.xml b/java/sca/modules/databinding-axiom/pom.xml
index f602ad3519..6e0d634419 100644
--- a/java/sca/modules/databinding-axiom/pom.xml
+++ b/java/sca/modules/databinding-axiom/pom.xml
@@ -49,7 +49,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
@@ -69,7 +69,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -82,14 +82,14 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/databinding-jaxb-axiom/pom.xml b/java/sca/modules/databinding-jaxb-axiom/pom.xml
index 12150abb7e..c4dd61571a 100644
--- a/java/sca/modules/databinding-jaxb-axiom/pom.xml
+++ b/java/sca/modules/databinding-jaxb-axiom/pom.xml
@@ -42,7 +42,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/databinding-json/pom.xml b/java/sca/modules/databinding-json/pom.xml
index bc4a149b91..7609df06aa 100644
--- a/java/sca/modules/databinding-json/pom.xml
+++ b/java/sca/modules/databinding-json/pom.xml
@@ -63,7 +63,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
@@ -87,20 +87,20 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
diff --git a/java/sca/modules/databinding-sdo-axiom/pom.xml b/java/sca/modules/databinding-sdo-axiom/pom.xml
index b63e362616..e64e99fa9f 100644
--- a/java/sca/modules/databinding-sdo-axiom/pom.xml
+++ b/java/sca/modules/databinding-sdo-axiom/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
@@ -68,14 +68,14 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
diff --git a/java/sca/modules/databinding-xmlbeans/pom.xml b/java/sca/modules/databinding-xmlbeans/pom.xml
index 3e92649675..29f215641a 100644
--- a/java/sca/modules/databinding-xmlbeans/pom.xml
+++ b/java/sca/modules/databinding-xmlbeans/pom.xml
@@ -49,7 +49,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
</dependency>
</dependencies>
diff --git a/java/sca/modules/databinding-xstream/pom.xml b/java/sca/modules/databinding-xstream/pom.xml
index 34faa5c8bb..2bd126b2eb 100644
--- a/java/sca/modules/databinding-xstream/pom.xml
+++ b/java/sca/modules/databinding-xstream/pom.xml
@@ -61,7 +61,7 @@
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
@@ -74,20 +74,20 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/databinding/pom.xml b/java/sca/modules/databinding/pom.xml
index 890abcc2ea..8021c62970 100644
--- a/java/sca/modules/databinding/pom.xml
+++ b/java/sca/modules/databinding/pom.xml
@@ -68,7 +68,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/extension-helper/pom.xml b/java/sca/modules/extension-helper/pom.xml
index e35504caab..a54e9e43a3 100644
--- a/java/sca/modules/extension-helper/pom.xml
+++ b/java/sca/modules/extension-helper/pom.xml
@@ -59,7 +59,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/host-webapp-junit/pom.xml b/java/sca/modules/host-webapp-junit/pom.xml
index 27c8359414..fb5f29df22 100644
--- a/java/sca/modules/host-webapp-junit/pom.xml
+++ b/java/sca/modules/host-webapp-junit/pom.xml
@@ -34,7 +34,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
</dependency>
<dependency>
diff --git a/java/sca/modules/implementation-data-xml/pom.xml b/java/sca/modules/implementation-data-xml/pom.xml
index 29b53a6d86..44c92f164e 100644
--- a/java/sca/modules/implementation-data-xml/pom.xml
+++ b/java/sca/modules/implementation-data-xml/pom.xml
@@ -119,7 +119,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>compile</scope>
</dependency>
<dependency>
diff --git a/java/sca/modules/implementation-ejb/pom.xml b/java/sca/modules/implementation-ejb/pom.xml
index ef77f2df2b..31da4af3c2 100644
--- a/java/sca/modules/implementation-ejb/pom.xml
+++ b/java/sca/modules/implementation-ejb/pom.xml
@@ -53,7 +53,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-node-runtime/pom.xml b/java/sca/modules/implementation-node-runtime/pom.xml
index bc4f0ae7bf..7d61a1b972 100644
--- a/java/sca/modules/implementation-node-runtime/pom.xml
+++ b/java/sca/modules/implementation-node-runtime/pom.xml
@@ -77,7 +77,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/implementation-node/pom.xml b/java/sca/modules/implementation-node/pom.xml
index 2027eb7e30..69488e1fc9 100644
--- a/java/sca/modules/implementation-node/pom.xml
+++ b/java/sca/modules/implementation-node/pom.xml
@@ -65,7 +65,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-notification/pom.xml b/java/sca/modules/implementation-notification/pom.xml
index 505db519c5..a2ebb4289c 100644
--- a/java/sca/modules/implementation-notification/pom.xml
+++ b/java/sca/modules/implementation-notification/pom.xml
@@ -70,7 +70,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-osgi/pom.xml b/java/sca/modules/implementation-osgi/pom.xml
index 55e61fda93..c3615148a9 100644
--- a/java/sca/modules/implementation-osgi/pom.xml
+++ b/java/sca/modules/implementation-osgi/pom.xml
@@ -122,7 +122,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-resource-runtime/pom.xml b/java/sca/modules/implementation-resource-runtime/pom.xml
index cf63fd5766..33270149b5 100644
--- a/java/sca/modules/implementation-resource-runtime/pom.xml
+++ b/java/sca/modules/implementation-resource-runtime/pom.xml
@@ -58,7 +58,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-resource/pom.xml b/java/sca/modules/implementation-resource/pom.xml
index ec8c6638ac..a68a08cd18 100644
--- a/java/sca/modules/implementation-resource/pom.xml
+++ b/java/sca/modules/implementation-resource/pom.xml
@@ -51,7 +51,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-script/pom.xml b/java/sca/modules/implementation-script/pom.xml
index 60cfa5abd8..0d61f8c58f 100644
--- a/java/sca/modules/implementation-script/pom.xml
+++ b/java/sca/modules/implementation-script/pom.xml
@@ -78,20 +78,20 @@
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
@@ -119,7 +119,7 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
diff --git a/java/sca/modules/implementation-web-runtime/pom.xml b/java/sca/modules/implementation-web-runtime/pom.xml
index ba296fefcd..f48eedc6d4 100644
--- a/java/sca/modules/implementation-web-runtime/pom.xml
+++ b/java/sca/modules/implementation-web-runtime/pom.xml
@@ -74,7 +74,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-web/pom.xml b/java/sca/modules/implementation-web/pom.xml
index 8bb8546f26..68dffedcc5 100644
--- a/java/sca/modules/implementation-web/pom.xml
+++ b/java/sca/modules/implementation-web/pom.xml
@@ -60,7 +60,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-widget-runtime/pom.xml b/java/sca/modules/implementation-widget-runtime/pom.xml
index 79d6d10ee4..d374057fd8 100644
--- a/java/sca/modules/implementation-widget-runtime/pom.xml
+++ b/java/sca/modules/implementation-widget-runtime/pom.xml
@@ -94,7 +94,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-widget/pom.xml b/java/sca/modules/implementation-widget/pom.xml
index ec717b9b35..f9aca74872 100644
--- a/java/sca/modules/implementation-widget/pom.xml
+++ b/java/sca/modules/implementation-widget/pom.xml
@@ -51,7 +51,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/implementation-xquery/pom.xml b/java/sca/modules/implementation-xquery/pom.xml
index c094de3c7e..10a35783e7 100644
--- a/java/sca/modules/implementation-xquery/pom.xml
+++ b/java/sca/modules/implementation-xquery/pom.xml
@@ -77,7 +77,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/interface-java-jaxws/pom.xml b/java/sca/modules/interface-java-jaxws/pom.xml
index 1a738e0f16..e3a72f6fec 100644
--- a/java/sca/modules/interface-java-jaxws/pom.xml
+++ b/java/sca/modules/interface-java-jaxws/pom.xml
@@ -48,7 +48,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/interface-wsdl/pom.xml b/java/sca/modules/interface-wsdl/pom.xml
index 4d39d9e6f7..bb1e630b0a 100644
--- a/java/sca/modules/interface-wsdl/pom.xml
+++ b/java/sca/modules/interface-wsdl/pom.xml
@@ -56,7 +56,7 @@
<dependency>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
- <version>1.3.2</version>
+ <version>1.4.2</version>
</dependency>
<dependency>
diff --git a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java
index 4a13c0a589..adba1e2da7 100644
--- a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java
+++ b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java
@@ -182,5 +182,17 @@ final class NodeLauncherUtil {
static void stopOSGi(OSGiHost host) {
host.stop();
}
+
+ /*
+ static OSGiHost getOSGiHost() throws Exception {
+ ServiceDiscovery discovery = ServiceDiscovery.getInstance(Thread.currentThread().getContextClassLoader());
+ Class<?> hostClass = discovery.loadFirstServiceClass(OSGiHost.class);
+ if (hostClass != null) {
+ return (OSGiHost) hostClass.newInstance();
+ } else {
+ return null;
+ }
+ }
+ */
}
diff --git a/java/sca/modules/node-manager/pom.xml b/java/sca/modules/node-manager/pom.xml
index 08152a6344..73dcfae7ea 100644
--- a/java/sca/modules/node-manager/pom.xml
+++ b/java/sca/modules/node-manager/pom.xml
@@ -110,7 +110,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
diff --git a/java/sca/modules/policy-security-ws/pom.xml b/java/sca/modules/policy-security-ws/pom.xml
index f733f7f4c6..580e649ccf 100644
--- a/java/sca/modules/policy-security-ws/pom.xml
+++ b/java/sca/modules/policy-security-ws/pom.xml
@@ -68,19 +68,19 @@
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
</dependency>
<dependency>
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-kernel</artifactId>
- <version>1.3</version>
+ <version>1.4.1</version>
<exclusions>
<exclusion>
<groupId>backport-util-concurrent</groupId>
@@ -100,14 +100,14 @@
<dependency>
<groupId>backport-util-concurrent</groupId>
<artifactId>backport-util-concurrent</artifactId>
- <version>3.0</version>
+ <version>3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.neethi</groupId>
<artifactId>neethi</artifactId>
- <version>2.0.2</version>
+ <version>2.0.4</version>
<exclusions>
<exclusion>
<groupId>wsdl4j</groupId>
diff --git a/java/sca/modules/policy-security/pom.xml b/java/sca/modules/policy-security/pom.xml
index 640d131642..e9d952cd31 100644
--- a/java/sca/modules/policy-security/pom.xml
+++ b/java/sca/modules/policy-security/pom.xml
@@ -60,7 +60,11 @@
<Bundle-Version>${tuscany.version}</Bundle-Version>
<Bundle-SymbolicName>org.apache.tuscany.sca.policy.security</Bundle-SymbolicName>
<Bundle-Description>${pom.name}</Bundle-Description>
- <Export-Package>org.apache.tuscany.sca.policy.security*</Export-Package>
+ <Export-Package>
+ org.apache.tuscany.sca.policy.identity,
+ org.apache.tuscany.sca.policy.authorization,
+ org.apache.tuscany.sca.policy.security*
+ </Export-Package>
</instructions>
</configuration>
</plugin>
diff --git a/java/sca/modules/policy-xml-ws/pom.xml b/java/sca/modules/policy-xml-ws/pom.xml
index f6d8a884ec..039dc83538 100644
--- a/java/sca/modules/policy-xml-ws/pom.xml
+++ b/java/sca/modules/policy-xml-ws/pom.xml
@@ -50,7 +50,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-api</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
@@ -74,7 +74,7 @@
<dependency>
<groupId>org.apache.neethi</groupId>
<artifactId>neethi</artifactId>
- <version>2.0.2</version>
+ <version>2.0.4</version>
<exclusions>
<exclusion>
<groupId>wsdl4j</groupId>
@@ -90,7 +90,7 @@
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
<artifactId>axiom-impl</artifactId>
- <version>1.2.5</version>
+ <version>1.2.7</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
@@ -103,14 +103,14 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
- <version>1.1</version>
+ <version>1.1.1</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/policy-xml/pom.xml b/java/sca/modules/policy-xml/pom.xml
index 178648c7a3..0934c768df 100644
--- a/java/sca/modules/policy-xml/pom.xml
+++ b/java/sca/modules/policy-xml/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/pom.xml b/java/sca/modules/pom.xml
index b4b3b292c5..3d668f068e 100644
--- a/java/sca/modules/pom.xml
+++ b/java/sca/modules/pom.xml
@@ -193,14 +193,14 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.2</version>
+ <version>4.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
- <version>2.2</version>
+ <version>2.4</version>
<scope>test</scope>
</dependency>
</dependencies>
diff --git a/java/sca/modules/workspace-xml/pom.xml b/java/sca/modules/workspace-xml/pom.xml
index 21024de0d3..0fce4fa60e 100644
--- a/java/sca/modules/workspace-xml/pom.xml
+++ b/java/sca/modules/workspace-xml/pom.xml
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
- <version>3.2.1</version>
+ <version>3.2.4</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
diff --git a/java/sca/modules/xsd-xml/src/main/java/org/apache/tuscany/sca/xsd/xml/XSDModelResolver.java b/java/sca/modules/xsd-xml/src/main/java/org/apache/tuscany/sca/xsd/xml/XSDModelResolver.java
index 652d9e8d83..3e22b49d31 100644
--- a/java/sca/modules/xsd-xml/src/main/java/org/apache/tuscany/sca/xsd/xml/XSDModelResolver.java
+++ b/java/sca/modules/xsd-xml/src/main/java/org/apache/tuscany/sca/xsd/xml/XSDModelResolver.java
@@ -49,6 +49,7 @@ import org.xml.sax.InputSource;
* @version $Rev$ $Date$
*/
public class XSDModelResolver implements ModelResolver {
+ private static final String AGGREGATED_XSD = "http://tuscany.apache.org/aggregated.xsd";
private XSDFactory factory;
private Contribution contribution;
private Map<String, List<XSDefinition>> map = new HashMap<String, List<XSDefinition>>();
@@ -166,6 +167,12 @@ public class XSDModelResolver implements ModelResolver {
}
// Read an XSD document
InputSource xsd = XMLDocumentHelper.getInputSource(definition.getLocation().toURL());
+ for (XmlSchema d : schemaCollection.getXmlSchemas()) {
+ if (d.getTargetNamespace().equals(definition.getNamespace())) {
+ if (d.getSourceURI().equals(definition.getLocation().toString()))
+ return;
+ }
+ }
XmlSchema schema = schemaCollection.read(xsd, null);
definition.setSchemaCollection(schemaCollection);
definition.setSchema(schema);
@@ -193,10 +200,25 @@ public class XSDModelResolver implements ModelResolver {
loadOnDemand(d);
}
String ns = definitions.get(0).getNamespace();
- XmlSchema facade = new XmlSchema(ns, schemaCollection);
+
+ XmlSchema facade = null;
+ // Check if the facade XSD is already in the collection
+ for (XmlSchema s : schemaCollection.getXmlSchema(AGGREGATED_XSD)) {
+ if (ns.equals(s.getTargetNamespace())) {
+ facade = s;
+ break;
+ }
+ }
+ if (facade == null) {
+ // This will add the facade into the collection
+ facade = new XmlSchema(ns, AGGREGATED_XSD, schemaCollection);
+ }
for (XmlSchema d : schemaCollection.getXmlSchemas()) {
if (ns.equals(d.getTargetNamespace())) {
+ if (d == facade) {
+ continue;
+ }
XmlSchemaInclude include = new XmlSchemaInclude();
include.setSchema(d);
include.setSourceURI(d.getSourceURI());
diff --git a/java/sca/modules/xsd/pom.xml b/java/sca/modules/xsd/pom.xml
index 0ef1e7ed99..c8a9e21576 100644
--- a/java/sca/modules/xsd/pom.xml
+++ b/java/sca/modules/xsd/pom.xml
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
- <version>1.3.2</version>
+ <version>1.4.2</version>
</dependency>
</dependencies>