summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-01-18 20:31:22 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-01-18 20:31:22 +0100
commit6f0592cb2b753fb47297464a3fa1a312620da3ba (patch)
tree00a7cfac379331fd79aea4892f04435172e5761d /Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml
parent906405bab5c8b1a445e5d0408d38dddb1f504747 (diff)
Add WSDL exercise
Diffstat (limited to 'Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml')
-rw-r--r--Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml
new file mode 100644
index 0000000..ade6127
--- /dev/null
+++ b/Year_3/TSDWL/WSDL/NetSix/NetSixServerClient/nbproject/jaxws-build.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+ *** GENERATED FROM jax-ws.xml - DO NOT EDIT ! ***
+ *** TO MODIFY wsimport options USE Web Service node -> Edit WS Attributes ***
+ *** TO CHANGE TARGETS GENERATED TO jaxws-build.xml COPY THOSE ***
+ *** TARGETS TO ../build.xml AND MODIFY THAT FILE INSTEAD ***
+
+ --><project xmlns:xalan="http://xml.apache.org/xslt" xmlns:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
+ <!--
+ ===================
+ JAX-WS WSGEN SECTION
+ ===================
+ -->
+ <!--
+ ===================
+ JAX-WS WSIMPORT SECTION
+ ===================
+ -->
+ <target name="wsimport-init" depends="init">
+ <fail if="${wsimport.bad.version}" message="WsImport ant task defined in the classpath ${j2ee.platform.wsimport.classpath} has a serious bug. See http://wiki.netbeans.org/MetroIssue for details."/>
+ <mkdir dir="${build.generated.sources.dir}/jax-ws"/>
+ <property name="j2ee.platform.wsimport.classpath" value="${libs.jaxws21.classpath}"/>
+ <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
+ <classpath path="${java.home}/../lib/tools.jar:${j2ee.platform.wsimport.classpath}:${javac.classpath}"/>
+ </taskdef>
+ <condition property="conf-dir" value="${conf.dir}/" else="">
+ <isset property="conf.dir"/>
+ </condition>
+ </target>
+ <target name="wsimport-client-WsServ" depends="wsimport-init">
+ <mkdir dir="${build.generated.dir}/jax-wsCache/WsServ"/>
+ <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/WsServ" destdir="${build.generated.dir}/jax-wsCache/WsServ" wsdl="${basedir}/${conf-dir}xml-resources/web-service-references/WsServ/wsdl/localhost_8080/NetSixServer/WsServ.wsdl" catalog="catalog.xml" encoding="${source.encoding}" extension="true" verbose="true" fork="false" wsdlLocation="http://localhost:8080/NetSixServer/WsServ?wsdl" xnocompile="true" xendorsed="true" package="me.dcariotti.netsix">
+ <depends file="${basedir}/${conf-dir}xml-resources/web-service-references/WsServ/wsdl/localhost_8080/NetSixServer/WsServ.wsdl"/>
+ <produces dir="${build.generated.dir}/jax-wsCache/WsServ"/>
+ </wsimport>
+ <copy todir="${build.generated.sources.dir}/jax-ws">
+ <fileset dir="${build.generated.dir}/jax-wsCache/WsServ">
+ <include name="**/*.java"/>
+ </fileset>
+ </copy>
+ </target>
+ <target name="wsimport-client-clean-WsServ" depends="-init-project">
+ <delete dir="${build.generated.sources.dir}/jax-ws/me/dcariotti/netsix"/>
+ <delete dir="${build.generated.dir}/jax-wsCache/WsServ"/>
+ </target>
+ <target name="wsimport-client-generate" depends="wsimport-client-WsServ"/>
+</project>