pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/apache/axis-axis2-java-core/commit/dc2d55d25748e5867a7fa6c3fe075f589855f46f

Adding enterprise WSDL as a test · apache/axis-axis2-java-core@dc2d55d · GitHub
Skip to content

Commit dc2d55d

Browse files
author
Ajith Ranabahu
committed
Adding enterprise WSDL as a test
I'm unable to write a Junit test case that *compiles* the generated code (code can be generated without a problem) so I'm adding the generate-compile tasks inside a maven pre-goal.
1 parent 5501d02 commit dc2d55d

File tree

2 files changed

+3865
-0
lines changed

2 files changed

+3865
-0
lines changed

modules/integration/maven.xml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,39 @@
7777
<arg line="-src target/xmlbeans-src -d target/classes test-resources/xsd/type-test.xsd"/>
7878
</java>
7979

80+
<!-- codegen for the enterprise wsdl -->
81+
<ant:echo>Running codegen for Enterprise WSDL - take 1</ant:echo>
82+
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
83+
<classpath refid="maven.dependency.classpath"/>
84+
<arg line="-d xmlbeans -o target/enterprise-test1 -s -uri test-resources/enterprise.wsdl"/>
85+
</java>
86+
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test1"
87+
target="jar.client"/>
88+
89+
<ant:echo>Running codegen for Enterprise WSDL - take 2</ant:echo>
90+
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
91+
<classpath refid="maven.dependency.classpath"/>
92+
<arg line="-o target/enterprise-test2 -s -uri test-resources/enterprise.wsdl"/>
93+
</java>
94+
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test2"
95+
target="jar.client"/>
96+
97+
98+
<ant:echo>Running codegen for Enterprise WSDL - take 3</ant:echo>
99+
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
100+
<classpath refid="maven.dependency.classpath"/>
101+
<arg line="-d xmlbeans -ss -sd -g -o target/enterprise-test3 -s -uri test-resources/enterprise.wsdl"/>
102+
</java>
103+
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test3"
104+
target="jar.server"/>
105+
106+
<ant:echo>Running codegen for Enterprise WSDL - take 4</ant:echo>
107+
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
108+
<classpath refid="maven.dependency.classpath"/>
109+
<arg line="-ns2p urn:sobject.enterprise.soap.sforce.com,com.salesforce -d xmlbeans -ss -sd -g -o target/enterprise-test4 -s -uri test-resources/enterprise.wsdl"/>
110+
</java>
111+
<ant:ant antfile="build.xml" inheritall="true" inheritrefs="true" dir="target/enterprise-test4"
112+
target="jar.server"/>
80113
</preGoal>
81114

82115
<postGoal name="test:compile">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy