diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-01-20 10:43:22 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-01-20 10:43:22 +0100 |
commit | 0a58e131ce0d96ecd60c4daf2c41821a625d689b (patch) | |
tree | d67ed3c4662fa7cc83e397b2977a603396d22df6 /Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml | |
parent | d62cdeb376fb5f0749ce637723a6cb305485aad8 (diff) |
wsdl: add examples
Diffstat (limited to 'Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml')
-rw-r--r-- | Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml b/Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml new file mode 100644 index 0000000..0ea369e --- /dev/null +++ b/Year_3/TSDWL/WSDL/BankClient/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-BankOperations" depends="wsimport-init"> + <mkdir dir="${build.generated.dir}/jax-wsCache/BankOperations"/> + <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/BankOperations" destdir="${build.generated.dir}/jax-wsCache/BankOperations" wsdl="${basedir}/${conf-dir}xml-resources/web-service-references/BankOperations/wsdl/localhost_8080/WsBank/BankOperations.wsdl" catalog="catalog.xml" encoding="${source.encoding}" extension="true" verbose="true" fork="false" wsdlLocation="http://localhost:8080/WsBank/BankOperations?wsdl" xnocompile="true" xendorsed="true" package="it.dmi.exams.client.bank"> + <depends file="${basedir}/${conf-dir}xml-resources/web-service-references/BankOperations/wsdl/localhost_8080/WsBank/BankOperations.wsdl"/> + <produces dir="${build.generated.dir}/jax-wsCache/BankOperations"/> + </wsimport> + <copy todir="${build.generated.sources.dir}/jax-ws"> + <fileset dir="${build.generated.dir}/jax-wsCache/BankOperations"> + <include name="**/*.java"/> + </fileset> + </copy> + </target> + <target name="wsimport-client-clean-BankOperations" depends="-init-project"> + <delete dir="${build.generated.sources.dir}/jax-ws/it/dmi/exams/client/bank"/> + <delete dir="${build.generated.dir}/jax-wsCache/BankOperations"/> + </target> + <target name="wsimport-client-generate" depends="wsimport-client-BankOperations"/> +</project> |