From 4140d84ab1259cc7500e36fb761f21c5ee01fba9 Mon Sep 17 00:00:00 2001 From: rfeng Date: Fri, 19 Sep 2008 06:38:53 +0000 Subject: Upgrade to Axis2 1.4.1 and its transitive dependencies such as XmlSchema and Axiom based on the patches from Ram for TUSCANY-2606 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696937 13f79535-47bb-0310-9956-ffa450edef68 --- java/sca/tools/java2wsdl/pom.xml | 103 ++++--------------- java/sca/tools/maven/maven-osgi-junit/pom.xml | 2 +- java/sca/tools/runtime-inspector/pom.xml | 2 +- java/sca/tools/wsdl2java/pom.xml | 112 +++++---------------- .../wsdl2java/generate/JavaInterfaceEmitter.java | 13 +-- 5 files changed, 55 insertions(+), 177 deletions(-) (limited to 'java/sca/tools') diff --git a/java/sca/tools/java2wsdl/pom.xml b/java/sca/tools/java2wsdl/pom.xml index a760c26d1b..e9c97b283c 100644 --- a/java/sca/tools/java2wsdl/pom.xml +++ b/java/sca/tools/java2wsdl/pom.xml @@ -27,42 +27,42 @@ tuscany-java2wsdl Apache Tuscany SCA Java2WSDL Tool - org.apache.tuscany.sdo tuscany-sdo-impl 1.1.1 + + + stax + stax-api + + - org.apache.tuscany.sca tuscany-sca-api 1.4-SNAPSHOT - org.apache.tuscany.sca tuscany-databinding 1.4-SNAPSHOT - javax.xml.stream stax-api 1.0-2 - wsdl4j wsdl4j 1.6.2 - org.apache.neethi neethi - 2.0.2 + 2.0.4 wsdl4j @@ -74,51 +74,11 @@ - - - org.apache.ws.commons.schema - XmlSchema - 1.3.2 - - - - org.apache.ws.commons.axiom - axiom-api - - - xerces - xercesImpl - - - xml-apis - xml-apis - - - 1.2.5 - - - - org.apache.ws.commons.axiom - axiom-impl - 1.2.5 - - - - org.apache.axis2 - axis2-kernel - 1.3 - - - org.codehaus.woodstox - wstx-asl - - - - + org.apache.axis2 axis2-java2wsdl - 1.3 + 1.4.1 org.apache.ant @@ -126,11 +86,10 @@ - org.apache.axis2 axis2-codegen - 1.3 + 1.4.1 org.apache.geronimo.specs @@ -138,13 +97,11 @@ - org.eclipse.emf codegen 2.2.3 - org.eclipse.emf codegen-ecore @@ -152,26 +109,12 @@ - annogen - annogen - 0.1.0 - - - - commons-logging - commons-logging - 1.1 - - - - org.codehaus.woodstox - wstx-asl - 3.2.1 - runtime + junit + junit + 4.5 + test - - @@ -192,7 +135,7 @@ - + org.apache.tuscany.sdo tuscany-sdo-plugin @@ -202,7 +145,8 @@ generate-sdo generate-sources - ${basedir}/src/test/resources/CreditScoreDocLit.wsdl + ${basedir}/src/test/resources/CreditScoreDocLit.wsdl + org.example.creditscore.doclit true true @@ -216,20 +160,15 @@ - - - indiana - http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/ + http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/ + - true + false - - + \ No newline at end of file diff --git a/java/sca/tools/maven/maven-osgi-junit/pom.xml b/java/sca/tools/maven/maven-osgi-junit/pom.xml index 278ef80f71..2df4e01909 100644 --- a/java/sca/tools/maven/maven-osgi-junit/pom.xml +++ b/java/sca/tools/maven/maven-osgi-junit/pom.xml @@ -52,7 +52,7 @@ junit junit - 4.2 + 4.5 compile diff --git a/java/sca/tools/runtime-inspector/pom.xml b/java/sca/tools/runtime-inspector/pom.xml index 6c5e314e15..ea6078bf7d 100644 --- a/java/sca/tools/runtime-inspector/pom.xml +++ b/java/sca/tools/runtime-inspector/pom.xml @@ -59,7 +59,7 @@ junit junit - 4.2 + 4.5 test diff --git a/java/sca/tools/wsdl2java/pom.xml b/java/sca/tools/wsdl2java/pom.xml index c47f096dee..6f13c6ca5e 100644 --- a/java/sca/tools/wsdl2java/pom.xml +++ b/java/sca/tools/wsdl2java/pom.xml @@ -27,7 +27,6 @@ tuscany-wsdl2java Apache Tuscany SCA WSDL2Java Tool - org.apache.tuscany.sca @@ -35,31 +34,36 @@ 1.4-SNAPSHOT test - org.apache.tuscany.sdo tuscany-sdo-impl 1.1.1 + + + org.codehaus.woodstox + wstx-asl + + + stax + stax-api + + - org.apache.tuscany.sdo tuscany-sdo-tools 1.1.1 - com.sun.xml.bind jaxb-xjc 2.1.7 - javax.xml.bind jaxb-api 2.1 - com.sun.xml.bind jaxb-impl @@ -72,23 +76,20 @@ - javax.xml.stream stax-api 1.0-2 - wsdl4j wsdl4j 1.6.2 - org.apache.neethi neethi - 2.0.2 + 2.0.4 wsdl4j @@ -100,51 +101,11 @@ - - - org.apache.ws.commons.schema - XmlSchema - 1.3.2 - - - - org.apache.ws.commons.axiom - axiom-api - - - xerces - xercesImpl - - - xml-apis - xml-apis - - - 1.2.5 - - - - org.apache.ws.commons.axiom - axiom-impl - 1.2.5 - - - - org.apache.axis2 - axis2-kernel - 1.3 - - - org.codehaus.woodstox - wstx-asl - - - - + org.apache.axis2 axis2-java2wsdl - 1.3 + 1.4.1 org.apache.ant @@ -152,11 +113,10 @@ - org.apache.axis2 axis2-codegen - 1.3 + 1.4.1 org.apache.geronimo.specs @@ -164,42 +124,24 @@ - org.eclipse.emf codegen 2.2.3 - org.eclipse.emf codegen-ecore 2.2.3 - + - annogen - annogen - 0.1.0 - - - - commons-logging - commons-logging - 1.1 - - - - org.codehaus.woodstox - wstx-asl - 3.2.1 - runtime + junit + junit + 4.5 + test - - - - @@ -230,7 +172,8 @@ generate-sdo generate-test-sources - ${basedir}/src/test/resources/CreditScoreDocLit.wsdl + ${basedir}/src/test/resources/CreditScoreDocLit.wsdl + org.example.creditscore.doclit true true @@ -244,7 +187,6 @@ - @@ -256,17 +198,13 @@ legacy - - indiana - http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/ + http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/ + - true + false - - + \ No newline at end of file diff --git a/java/sca/tools/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceEmitter.java b/java/sca/tools/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceEmitter.java index a2220abe55..08c7131208 100644 --- a/java/sca/tools/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceEmitter.java +++ b/java/sca/tools/wsdl2java/src/main/java/org/apache/tuscany/tools/wsdl2java/generate/JavaInterfaceEmitter.java @@ -26,6 +26,7 @@ import java.util.List; import javax.xml.namespace.QName; +import org.apache.axis2.description.AxisBindingOperation; import org.apache.axis2.description.AxisMessage; import org.apache.axis2.description.AxisOperation; import org.apache.axis2.util.FileWriter; @@ -129,20 +130,20 @@ public class JavaInterfaceEmitter extends JavaEmitter { } @Override - protected Element getInputElement(Document doc, AxisOperation operation, List headerParameterQNameList) { + protected Element getInputElement(Document doc, AxisBindingOperation operation, List headerParameterQNameList) { return getElement(doc, "input", - operation.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE), - operation.getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE).isWrapped(), + operation.getAxisOperation().getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE), + operation.getAxisOperation().getMessage(WSDLConstants.MESSAGE_LABEL_IN_VALUE).isWrapped(), headerParameterQNameList); } @Override - protected Element getOutputElement(Document doc, AxisOperation operation, List headerParameterQNameList) { + protected Element getOutputElement(Document doc, AxisBindingOperation operation, List headerParameterQNameList) { return getElement(doc, "output", - operation.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE), - operation.getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE).isWrapped(), + operation.getAxisOperation().getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE), + operation.getAxisOperation().getMessage(WSDLConstants.MESSAGE_LABEL_OUT_VALUE).isWrapped(), headerParameterQNameList); } -- cgit v1.2.3