diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 22:12:29 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 22:12:29 +0100 |
commit | 941483644d9bc45927d90e10d5f946cb2189fefb (patch) | |
tree | 6a661cc59d3d0b260a0ac62a7d3db1e23f1a447d /Year_3/TSDWL/WSDL/CountryClient/nbproject/jaxws-build.xml | |
parent | 79fbf3f9cc2bf2d8b9aa3c96c3d9fe7bee7577d6 (diff) |
tdwl: example of remote wsdl
Diffstat (limited to 'Year_3/TSDWL/WSDL/CountryClient/nbproject/jaxws-build.xml')
-rw-r--r-- | Year_3/TSDWL/WSDL/CountryClient/nbproject/jaxws-build.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Year_3/TSDWL/WSDL/CountryClient/nbproject/jaxws-build.xml b/Year_3/TSDWL/WSDL/CountryClient/nbproject/jaxws-build.xml new file mode 100644 index 0000000..97b036a --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/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-CountryInfoService" depends="wsimport-init"> + <mkdir dir="${build.generated.dir}/jax-wsCache/CountryInfoService"/> + <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/CountryInfoService" destdir="${build.generated.dir}/jax-wsCache/CountryInfoService" wsdl="${basedir}/${conf-dir}xml-resources/web-service-references/CountryInfoService/wsdl/www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso.wsdl" catalog="catalog.xml" encoding="${source.encoding}" extension="true" verbose="true" fork="false" wsdlLocation="http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?wsdl" xnocompile="true" xendorsed="true"> + <depends file="${basedir}/${conf-dir}xml-resources/web-service-references/CountryInfoService/wsdl/www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso.wsdl"/> + <produces dir="${build.generated.dir}/jax-wsCache/CountryInfoService"/> + </wsimport> + <copy todir="${build.generated.sources.dir}/jax-ws"> + <fileset dir="${build.generated.dir}/jax-wsCache/CountryInfoService"> + <include name="**/*.java"/> + </fileset> + </copy> + </target> + <target name="wsimport-client-clean-CountryInfoService" depends="-init-project"> + <delete dir="${build.generated.sources.dir}/jax-ws/org/oorsprong/websamples/countryinfo"/> + <delete dir="${build.generated.dir}/jax-wsCache/CountryInfoService"/> + </target> + <target name="wsimport-client-generate" depends="wsimport-client-CountryInfoService"/> +</project> |