You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2012/01/04 19:35:01 UTC
svn commit: r1227257 - in /axis/axis1/java/trunk:
axis-maven-plugin/src/main/java/org/apache/axis/maven/ integration/
integration/src/test/java/test/wsdl/any/ integration/src/test/wsdl/any/
test/wsdl/any/
Author: veithen
Date: Wed Jan 4 18:35:00 2012
New Revision: 1227257
URL: http://svn.apache.org/viewvc?rev=1227257&view=rev
Log:
Mavenized test/wsdl/any.
Added:
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/any/
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/any/AnyTestCase.java
- copied unchanged from r1227001, axis/axis1/java/trunk/test/wsdl/any/AnyTestCase.java
axis/axis1/java/trunk/integration/src/test/java/test/wsdl/any/SoapBindingImpl.java
- copied unchanged from r1227001, axis/axis1/java/trunk/test/wsdl/any/SoapBindingImpl.java
axis/axis1/java/trunk/integration/src/test/wsdl/any/
axis/axis1/java/trunk/integration/src/test/wsdl/any/any.wsdl
- copied unchanged from r1227001, axis/axis1/java/trunk/test/wsdl/any/any.wsdl
Removed:
axis/axis1/java/trunk/test/wsdl/any/
Modified:
axis/axis1/java/trunk/axis-maven-plugin/src/main/java/org/apache/axis/maven/AbstractWsdl2JavaMojo.java
axis/axis1/java/trunk/integration/pom.xml
Modified: axis/axis1/java/trunk/axis-maven-plugin/src/main/java/org/apache/axis/maven/AbstractWsdl2JavaMojo.java
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/axis-maven-plugin/src/main/java/org/apache/axis/maven/AbstractWsdl2JavaMojo.java?rev=1227257&r1=1227256&r2=1227257&view=diff
==============================================================================
--- axis/axis1/java/trunk/axis-maven-plugin/src/main/java/org/apache/axis/maven/AbstractWsdl2JavaMojo.java (original)
+++ axis/axis1/java/trunk/axis-maven-plugin/src/main/java/org/apache/axis/maven/AbstractWsdl2JavaMojo.java Wed Jan 4 18:35:00 2012
@@ -99,6 +99,13 @@ public abstract class AbstractWsdl2JavaM
*/
private boolean skeleton;
+ /**
+ * flag to generate code for all elements, even unreferenced ones
+ *
+ * @parameter default-value="false"
+ */
+ private boolean all;
+
public void execute() throws MojoExecutionException, MojoFailureException {
String wsdlUrl;
if (file != null && url != null) {
@@ -143,7 +150,7 @@ public abstract class AbstractWsdl2JavaM
// emitter.setNamespaceExcludes(nsExcludes);
// emitter.setProperties(properties);
// emitter.setImports(!noImports);
-// emitter.setAllWanted(all);
+ emitter.setAllWanted(all);
emitter.setOutputDir(output.getAbsolutePath());
emitter.setServerSide(serverSide);
emitter.setSkeletonWanted(skeleton);
Modified: axis/axis1/java/trunk/integration/pom.xml
URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/integration/pom.xml?rev=1227257&r1=1227256&r2=1227257&view=diff
==============================================================================
--- axis/axis1/java/trunk/integration/pom.xml (original)
+++ axis/axis1/java/trunk/integration/pom.xml Wed Jan 4 18:35:00 2012
@@ -206,6 +206,27 @@
</configuration>
</execution>
<execution>
+ <id>any</id>
+ <goals>
+ <goal>wsdl2java-test</goal>
+ </goals>
+ <configuration>
+ <file>src/test/wsdl/any/any.wsdl</file>
+ <all>true</all>
+ <serverSide>true</serverSide>
+ <mappings>
+ <mapping>
+ <namespace>urn:partner.soap.sforce.com</namespace>
+ <package>test.wsdl.any</package>
+ </mapping>
+ <mapping>
+ <namespace>urn:sobject.partner.soap.sforce.com</namespace>
+ <package>test.wsdl.any</package>
+ </mapping>
+ </mappings>
+ </configuration>
+ </execution>
+ <execution>
<id>wrapped</id>
<goals>
<goal>wsdl2java-test</goal>