-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerateclient.cmd
6 lines (5 loc) · 2.78 KB
/
generateclient.cmd
1
2
3
4
5
6
echo "Set The MAVEN_REPO varaiable in this batch file before ruuning the batch file."
echo "The batch file works under windows environment only.Please modify to run in different environments."
SET M2_REPO=C:\Documents and Settings\Administrator\.m2\repository
SET CLASSPATH=%M2_REPO%/ant/ant/1.5/ant-1.5.jar;%M2_REPO%/org/codehaus/xfire/xfire-generator/1.2.4/xfire-generator-1.2.4.jar;%M2_REPO%/antlr/antlr/2.7.6/antlr-2.7.6.jar;%M2_REPO%/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar;%M2_REPO%/wsdl4j/wsdl4j/1.6.1/wsdl4j-1.6.1.jar;%M2_REPO%/org/codehaus/xfire/xfire-java5/1.2.5/xfire-java5-1.2.5.jar;%M2_REPO%/javax/xml/ws/jaxws-api/2.0/jaxws-api-2.0.jar;%M2_REPO%/commons-lang/commons-lang/2.1/commons-lang-2.1.jar;%M2_REPO%/xmlbeans/xbean/2.2.0/xbean-2.2.0.jar;%M2_REPO%/com/sun/xml/bind/jaxb-xjc/2.0.1/jaxb-xjc-2.0.1.jar;%M2_REPO%/org/codehaus/xfire/xfire-xmlbeans/1.2.4/xfire-xmlbeans-1.2.4.jar;%M2_REPO%/commons-io/commons-io/1.1/commons-io-1.1.jar;%M2_REPO%/javax/xml/bind/jsr173_api/1.0/jsr173_api-1.0.jar;%M2_REPO%/org/codehaus/xfire/xfire-aegis/1.2.4/xfire-aegis-1.2.4.jar;%M2_REPO%/org/codehaus/woodstox/wstx-asl/3.2.0/wstx-asl-3.2.0.jar;%M2_REPO%/org/codehaus/xfire/xfire-annotations/1.2.4/xfire-annotations-1.2.4.jar;%M2_REPO%/asm/asm/1.5.3/asm-1.5.3.jar;%M2_REPO%/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar;%M2_REPO%/commons-logging/commons-logging/1.1/commons-logging-1.1.jar;%M2_REPO%/org/apache/ws/commons/XmlSchema/1.1/XmlSchema-1.1.jar;%M2_REPO%/org/codehaus/xfire/xfire-spring/1.2.4/xfire-spring-1.2.4.jar;%M2_REPO%/stax/stax-api/1.0.1/stax-api-1.0.1.jar;%M2_REPO%/org/apache/xbean/xbean-spring/2.7/xbean-spring-2.7.jar;%M2_REPO%/xfire/xfire-jsr181-api/1.0-M1/xfire-jsr181-api-1.0-M1.jar;%M2_REPO%/com/sun/xml/bind/jaxb-impl/2.0.1/jaxb-impl-2.0.1.jar;%M2_REPO%/javax/mail/mail/1.4/mail-1.4.jar;%M2_REPO%/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar;%M2_REPO%/javax/xml/jaxb-api/2.0/jaxb-api-2.0.jar;%M2_REPO%/commons-attributes/commons-attributes-api/2.1/commons-attributes-api-2.1.jar;%M2_REPO%/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0.jar;%M2_REPO%/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar;%M2_REPO%/org/codehaus/xfire/xfire-jaxb2/1.2.4/xfire-jaxb2-1.2.4.jar;%M2_REPO%/commons-pool/commons-pool/1.3/commons-pool-1.3.jar;%M2_REPO%/jdom/jdom/1.0/jdom-1.0.jar;%M2_REPO%/javax/activation/activation/1.1/activation-1.1.jar;%M2_REPO%/log4j/log4j/1.2.14/log4j-1.2.14.jar;%M2_REPO%/net/java/dev/stax-utils/stax-utils/20040917/stax-utils-20040917.jar;%M2_REPO%/org/codehaus/xfire/xfire-core/1.2.4/xfire-core-1.2.4.jar;%CLASSPATH%;
java org.codehaus.xfire.gen.WsGen -wsdl http://ws.xwebservices.com/XWebEmailValidation/V2/XWebEmailValidation.wsdl -o .\src\main\java -p com.wrox.webservice.emailvalidation.client -overwrite true -x false -ss false -externalBindings external_binding.xjb