From ee61d8b905abe0d541838bd0f0793e5086855bb9 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 19 Jan 2022 22:51:10 +0100 Subject: remove gitignore files --- Year_3/TSDWL/WSDL/NetSix/NetSixServer/build.xml | 71 - .../NetSixServer/build/web/META-INF/MANIFEST.MF | 2 - .../web/WEB-INF/classes/.netbeans_automatic_build | 0 .../web/WEB-INF/classes/.netbeans_update_resources | 0 .../build/web/WEB-INF/glassfish-web.xml | 10 - .../NetSix/NetSixServer/build/web/WEB-INF/web.xml | 12 - .../WSDL/NetSix/NetSixServer/dist/NetSixServer.war | Bin 3228 -> 0 bytes .../NetSix/NetSixServer/nbproject/ant-deploy.xml | 150 -- .../NetSix/NetSixServer/nbproject/build-impl.xml | 1442 -------------------- .../NetSixServer/nbproject/genfiles.properties | 8 - .../WSDL/NetSix/NetSixServer/nbproject/jax-ws.xml | 9 - .../NetSix/NetSixServer/nbproject/jaxws-build.xml | 35 - .../nbproject/private/private.properties | 7 - .../NetSixServer/nbproject/project.properties | 89 -- .../WSDL/NetSix/NetSixServer/nbproject/project.xml | 21 - .../WSDL/NetSix/NetSixServer/src/conf/MANIFEST.MF | 2 - .../src/java/me/dcariotti/wsserv/WsServ.java | 46 - .../WSDL/NetSix/NetSixServer/web/WEB-INF/web.xml | 12 - 18 files changed, 1916 deletions(-) delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/META-INF/MANIFEST.MF delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_automatic_build delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_update_resources delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/glassfish-web.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/web.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/dist/NetSixServer.war delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/ant-deploy.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/build-impl.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/genfiles.properties delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jax-ws.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jaxws-build.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/private/private.properties delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.properties delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.xml delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/conf/MANIFEST.MF delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/java/me/dcariotti/wsserv/WsServ.java delete mode 100644 Year_3/TSDWL/WSDL/NetSix/NetSixServer/web/WEB-INF/web.xml (limited to 'Year_3/TSDWL/WSDL/NetSix/NetSixServer') diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build.xml deleted file mode 100644 index 5eae93b..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - Builds, tests, and runs the project NetSixServer. - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/META-INF/MANIFEST.MF b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/META-INF/MANIFEST.MF deleted file mode 100644 index 59499bc..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/META-INF/MANIFEST.MF +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_automatic_build b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_automatic_build deleted file mode 100644 index e69de29..0000000 diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_update_resources b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/classes/.netbeans_update_resources deleted file mode 100644 index e69de29..0000000 diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/glassfish-web.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/glassfish-web.xml deleted file mode 100644 index 13e0059..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/glassfish-web.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - Keep a copy of the generated servlet class' java code. - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/web.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/web.xml deleted file mode 100644 index 6058a36..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/build/web/WEB-INF/web.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - 30 - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/dist/NetSixServer.war b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/dist/NetSixServer.war deleted file mode 100644 index 2417307..0000000 Binary files a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/dist/NetSixServer.war and /dev/null differ diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/ant-deploy.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/ant-deploy.xml deleted file mode 100644 index 5d33e0d..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/ant-deploy.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/build-impl.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/build-impl.xml deleted file mode 100644 index 9cc69ee..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/build-impl.xml +++ /dev/null @@ -1,1442 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set test.src.dir - Must set build.dir - Must set build.web.dir - Must set build.generated.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.war - - - - - - - - - -The Java EE server classpath is not correctly set up - server home directory is missing. -Either open the project in the IDE and assign the server or setup the server classpath manually. -For example like this: - ant -Dj2ee.server.home=<app_server_installation_directory> - - -The Java EE server classpath is not correctly set up. Your active server type is ${j2ee.server.type}. -Either open the project in the IDE and assign the server or setup the server classpath manually. -For example like this: - ant -Duser.properties.file=<path_to_property_file> (where you put the property "j2ee.platform.classpath" in a .properties file) -or ant -Dj2ee.platform.classpath=<server_classpath> (where no properties file is used) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -The libs.CopyLibs.classpath property is not set up. -This property must point to -org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part -of NetBeans IDE installation and is usually located at -<netbeans_installation>/java<version>/ant/extra folder. -Either open the project in the IDE and make sure CopyLibs library -exists or setup the property manually. For example like this: - ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.jsp.includes - - - - - - - - - - - - - - - - - - - - - - - - - - Must select a file in the IDE or set jsp.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Browser not found, cannot launch the deployed application. Try to set the BROWSER environment variable. - - - Launching ${browse.url} - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/genfiles.properties b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/genfiles.properties deleted file mode 100644 index f756c44..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=35d8b409 -build.xml.script.CRC32=f1142801 -build.xml.stylesheet.CRC32=651128d4@1.77.1.1 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=35d8b409 -nbproject/build-impl.xml.script.CRC32=1922045a -nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.77.1.1 diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jax-ws.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jax-ws.xml deleted file mode 100644 index 593367d..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jax-ws.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - me.dcariotti.wsserv.WsServ - - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jaxws-build.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jaxws-build.xml deleted file mode 100644 index c1e50cd..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/jaxws-build.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/private/private.properties b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/private/private.properties deleted file mode 100644 index d8d22bb..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/private/private.properties +++ /dev/null @@ -1,7 +0,0 @@ -deploy.ant.properties.file=/home/dcariotti/.netbeans/8.2/config/GlassFishEE6/Properties/gfv3-1342272572.properties -j2ee.platform.is.jsr109=true -j2ee.server.domain=/home/dcariotti/glassfish-4.1.1/glassfish/domains/domain1 -j2ee.server.home=/home/dcariotti/glassfish-4.1.1/glassfish -j2ee.server.instance=[/home/dcariotti/glassfish-4.1.1/glassfish:/home/dcariotti/glassfish-4.1.1/glassfish/domains/domain1]deployer:gfv3ee6wc:localhost:4848 -j2ee.server.middleware=/home/dcariotti/glassfish-4.1.1 -user.properties.file=/home/dcariotti/.netbeans/8.2/build.properties diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.properties b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.properties deleted file mode 100644 index f75bc6c..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.properties +++ /dev/null @@ -1,89 +0,0 @@ -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=true -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -build.classes.dir=${build.web.dir}/WEB-INF/classes -build.classes.excludes=**/*.java,**/*.form -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -build.web.dir=${build.dir}/web -build.web.excludes=${build.classes.excludes} -client.urlPart= -compile.jsps=false -conf.dir=${source.root}/conf -debug.classpath=${build.classes.dir}:${javac.classpath} -debug.test.classpath=\ - ${run.test.classpath} -display.browser=true -# Files to be excluded from distribution war -dist.archive.excludes= -dist.dir=dist -dist.ear.war=${dist.dir}/${war.ear.name} -dist.javadoc.dir=${dist.dir}/javadoc -dist.war=${dist.dir}/${war.name} -endorsed.classpath=\ - ${libs.javaee-endorsed-api-7.0.classpath} -excludes= -includes=** -j2ee.compile.on.save=true -j2ee.copy.static.files.on.save=true -j2ee.deploy.on.save=true -j2ee.platform=1.7-web -j2ee.platform.classpath=${j2ee.server.home}/modules/endorsed/javax.annotation-api.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/cdi-api.jar:${j2ee.server.home}/modules/javax.security.auth.message-api.jar:${j2ee.server.home}/modules/javax.jms-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent.jar:${j2ee.server.home}/modules/javax.enterprise.concurrent-api.jar:${j2ee.server.home}/modules/javax.ejb-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl-api.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.el.jar:${j2ee.server.home}/modules/javax.enterprise.deploy-api.jar:${j2ee.server.home}/modules/javax.json.jar:${j2ee.server.home}/modules/javax.servlet.jsp-api.jar:${j2ee.server.home}/modules/javax.faces.jar:${j2ee.server.home}/modules/javax.xml.registry-api.jar:${j2ee.server.home}/modules/javax.resource-api.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/javax.batch-api.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/javax.interceptor-api.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.inject.jar:${j2ee.server.home}/modules/javax.transaction-api.jar:${j2ee.server.home}/modules/javax.security.jacc-api.jar:${j2ee.server.home}/modules/javax.websocket-api.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/javax.ws.rs-api.jar:${j2ee.server.home}/modules/javax.xml.rpc-api.jar:${j2ee.server.home}/modules/javax.management.j2ee-api.jar:${j2ee.server.home}/modules/javax.servlet-api.jar:${j2ee.server.middleware}/mq/lib/jaxm-api.jar -j2ee.platform.embeddableejb.classpath=${j2ee.server.home}/lib/embedded/glassfish-embedded-static-shell.jar -j2ee.platform.wscompile.classpath=${j2ee.server.home}/modules/webservices-osgi.jar -j2ee.platform.wsgen.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar -j2ee.platform.wsimport.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api.jar -j2ee.platform.wsit.classpath= -j2ee.server.type=gfv3ee6 -jar.compress=false -javac.classpath= -# Space-separated list of extra javac options -javac.compilerargs= -javac.debug=true -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.8 -javac.target=1.8 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding=${source.encoding} -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.preview=true -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -lib.dir=${web.docbase.dir}/WEB-INF/lib -no.dependencies=false -persistence.xml.dir=${conf.dir} -platform.active=default_platform -resource.dir=setup -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -# Space-separated list of JVM arguments used when running a class with a main method or a unit test -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value): -runmain.jvmargs= -source.encoding=UTF-8 -source.root=src -src.dir=${source.root}/java -test.src.dir=test -war.content.additional= -war.ear.name=${war.name} -war.name=NetSixServer.war -web.docbase.dir=web -webinf.dir=web/WEB-INF diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.xml deleted file mode 100644 index ff43439..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/nbproject/project.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - org.netbeans.modules.web.project - - - - - - NetSixServer - 1.6.5 - - - - - - - - - - - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/conf/MANIFEST.MF b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/conf/MANIFEST.MF deleted file mode 100644 index 59499bc..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/conf/MANIFEST.MF +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 - diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/java/me/dcariotti/wsserv/WsServ.java b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/java/me/dcariotti/wsserv/WsServ.java deleted file mode 100644 index 8ff11d1..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/src/java/me/dcariotti/wsserv/WsServ.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package me.dcariotti.wsserv; - -import java.util.HashMap; -import javax.jws.WebService; -import javax.jws.WebMethod; -import javax.jws.WebParam; - -/** - * - * @author dcariotti - */ -@WebService(serviceName = "WsServ") -public class WsServ { - - private HashMap series; - - public WsServ() { - this.series = new HashMap(); - this.series.put("The Witcher", new int[] {1, 2, 3, 4, 5, 6}); - this.series.put("Rick & Morty", new int[] {1, 2, 3, 4, 5, 6, 7, 8}); - this.series.put("After Life", new int[] {1, 4, 5, 6, 9}); - this.series.put("Lovesick", new int[] {1, 2, 3, 4, 5, 6, 7}); - this.series.put("Chuck", new int[] {1, 2, 3, 4, 5, 6}); - this.series.put("Halt and catch fire", new int[] {1, 2, 3}); - } - - @WebMethod(operationName = "richiedi") - public boolean richiedi(@WebParam(name = "name") final String name, @WebParam(name = "episode") final int episode) { - if (this.series.containsKey(name)) { - int[] episodes = this.series.get(name); - - for (int number : episodes) { - if (number == episode) { - return true; - } - } - } - - return false; - } -} diff --git a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/web/WEB-INF/web.xml b/Year_3/TSDWL/WSDL/NetSix/NetSixServer/web/WEB-INF/web.xml deleted file mode 100644 index 6058a36..0000000 --- a/Year_3/TSDWL/WSDL/NetSix/NetSixServer/web/WEB-INF/web.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - 30 - - - -- cgit v1.2.3-18-g5258