From e4607e3968dc67586b6bc2214bc00f7bab08c707 Mon Sep 17 00:00:00 2001 From: Nathan Billard Date: Fri, 8 Nov 2024 09:34:34 +0100 Subject: [PATCH] first commit --- AnalyseClient/.classpath | 46 + AnalyseClient/.project | 23 + .../.settings/org.eclipse.jdt.core.prefs | 8 + .../.settings/org.eclipse.m2e.core.prefs | 4 + AnalyseClient/pom.xml | 54 + .../src/main/java/ClientOfAnalyzer.java | 17 + .../src/main/resources/wsdl/analyzer.wsdl | 39 + .../target/classes/ClientOfAnalyzer.class | Bin 0 -> 1509 bytes .../target/classes/META-INF/MANIFEST.MF | 4 + .../fr.insa.soap/ClientWS/pom.properties | 7 + .../maven/fr.insa.soap/ClientWS/pom.xml | 52 + .../AnalyseClient/pom.properties | 7 + .../fr.insa.ws.soap/AnalyseClient/pom.xml | 54 + .../soap/wsdltojava/AnalyserChaineWS.class | Bin 0 -> 986 bytes .../fr/insa/soap/wsdltojava/Analyzer.class | Bin 0 -> 2900 bytes .../fr/insa/soap/wsdltojava/Compare.class | Bin 0 -> 784 bytes .../soap/wsdltojava/CompareResponse.class | Bin 0 -> 836 bytes .../insa/soap/wsdltojava/ObjectFactory.class | Bin 0 -> 1954 bytes .../insa/soap/wsdltojava/package-info.class | Bin 0 -> 249 bytes .../target/classes/wsdl/analyzer.wsdl | 39 + .../.3B50E8084EFAFD2FEAFB634EE499AF485E9DB4E3 | Bin 0 -> 122 bytes .../soap/wsdltojava/AnalyserChaineWS.java | 32 + .../cxf/fr/insa/soap/wsdltojava/Analyzer.java | 87 + .../cxf/fr/insa/soap/wsdltojava/Compare.java | 60 + .../insa/soap/wsdltojava/CompareResponse.java | 54 + .../insa/soap/wsdltojava/ObjectFactory.java | 79 + .../fr/insa/soap/wsdltojava/package-info.java | 2 + Benevolat/.classpath | 40 + Benevolat/.project | 23 + .../.settings/org.eclipse.jdt.core.prefs | 8 + .../.settings/org.eclipse.m2e.core.prefs | 4 + Benevolat/pom.xml | 21 + .../insa/soap/AnalyserChaineApplication.java | 20 + .../java/fr/insa/soap/AnalyserChaineWS.java | 14 + Benevolat/target/classes/META-INF/MANIFEST.MF | 4 + .../fr.insa.ws.soap/Benevolat/pom.properties | 7 + .../maven/fr.insa.ws.soap/Benevolat/pom.xml | 21 + .../insa/soap/AnalyserChaineApplication.class | Bin 0 -> 1377 bytes .../fr/insa/soap/AnalyserChaineWS.class | Bin 0 -> 737 bytes NumberConversion/.classpath | 46 + NumberConversion/.project | 23 + .../.settings/org.eclipse.jdt.core.prefs | 8 + .../.settings/org.eclipse.m2e.core.prefs | 4 + NumberConversion/pom.xml | 54 + .../src/main/java/NumberConversionTester.java | 19 + .../main/resources/wsdl/numberconversion.wsdl | 110 + .../target/classes/META-INF/MANIFEST.MF | 4 + .../NumberConversion/pom.properties | 7 + .../fr.insa.soap/NumberConversion/pom.xml | 54 + .../classes/NumberConversionTester.class | Bin 0 -> 1672 bytes .../soap/wsdltojava/NumberConversion.class | Bin 0 -> 3266 bytes .../wsdltojava/NumberConversionSoapType.class | Bin 0 -> 1293 bytes .../soap/wsdltojava/NumberToDollars.class | Bin 0 -> 956 bytes .../wsdltojava/NumberToDollarsResponse.class | Bin 0 -> 1056 bytes .../insa/soap/wsdltojava/NumberToWords.class | Bin 0 -> 1022 bytes .../wsdltojava/NumberToWordsResponse.class | Bin 0 -> 1040 bytes .../insa/soap/wsdltojava/ObjectFactory.class | Bin 0 -> 1170 bytes .../insa/soap/wsdltojava/package-info.class | Bin 0 -> 353 bytes .../target/classes/wsdl/numberconversion.wsdl | 110 + .../.06AC7E89EFA784B989AF93554BD7BC700CCD147E | Bin 0 -> 133 bytes .../soap/wsdltojava/NumberConversion.java | 113 + .../wsdltojava/NumberConversionSoapType.java | 46 + .../insa/soap/wsdltojava/NumberToDollars.java | 65 + .../wsdltojava/NumberToDollarsResponse.java | 64 + .../insa/soap/wsdltojava/NumberToWords.java | 67 + .../wsdltojava/NumberToWordsResponse.java | 64 + .../insa/soap/wsdltojava/ObjectFactory.java | 64 + .../fr/insa/soap/wsdltojava/package-info.java | 2 + RestProject/.classpath | 41 + RestProject/.project | 37 + RestProject/.settings/.jsdtscope | 13 + .../org.eclipse.core.resources.prefs | 4 + .../.settings/org.eclipse.jdt.core.prefs | 10 + .../.settings/org.eclipse.m2e.core.prefs | 4 + .../org.eclipse.wst.common.component | 10 + ....eclipse.wst.common.project.facet.core.xml | 7 + ...rg.eclipse.wst.jsdt.ui.superType.container | 1 + .../org.eclipse.wst.jsdt.ui.superType.name | 1 + .../org.eclipse.wst.validation.prefs | 2 + RestProject/pom.xml | 92 + .../java/fr/insa/rest/RestProject/Binome.java | 18 + .../fr/insa/rest/RestProject/Comparator.java | 41 + .../fr/insa/rest/RestProject/Etudiant.java | 55 + .../rest/RestProject/EtudiantRessource.java | 48 + .../java/fr/insa/rest/RestProject/Link.java | 26 + .../fr/insa/rest/RestProject/MyResource.java | 25 + .../java/fr/insa/rest/RestProject/Stage.java | 26 + .../insa/rest/RestProject/StageRessource.java | 20 + RestProject/src/main/webapp/WEB-INF/web.xml | 18 + RestProject/src/main/webapp/index.jsp | 10 + .../fr/insa/rest/RestProject/Binome.class | Bin 0 -> 728 bytes .../fr/insa/rest/RestProject/Comparator.class | Bin 0 -> 1495 bytes .../fr/insa/rest/RestProject/Etudiant.class | Bin 0 -> 2295 bytes .../rest/RestProject/EtudiantRessource.class | Bin 0 -> 3182 bytes .../fr/insa/rest/RestProject/Link.class | Bin 0 -> 904 bytes .../fr/insa/rest/RestProject/MyResource.class | Bin 0 -> 583 bytes .../fr/insa/rest/RestProject/Stage.class | Bin 0 -> 963 bytes .../rest/RestProject/StageRessource.class | Bin 0 -> 876 bytes .../web-resources/META-INF/MANIFEST.MF | 4 + .../fr.insa.rest/RestProject/pom.properties | 7 + .../maven/fr.insa.rest/RestProject/pom.xml | 92 + Servers/.project | 11 + .../org.eclipse.core.resources.prefs | 2 + .../org.eclipse.wst.server.core.prefs | 3 + .../catalina.policy | 263 + .../catalina.properties | 222 + .../context.xml | 29 + .../server.xml | 148 + .../tomcat-users.xml | 52 + .../web.xml | 4747 +++++++++++++++++ TestRest/.classpath | 41 + TestRest/.project | 37 + TestRest/.settings/.jsdtscope | 13 + .../org.eclipse.core.resources.prefs | 6 + TestRest/.settings/org.eclipse.jdt.core.prefs | 10 + TestRest/.settings/org.eclipse.m2e.core.prefs | 4 + .../org.eclipse.wst.common.component | 10 + ....eclipse.wst.common.project.facet.core.xml | 7 + ...rg.eclipse.wst.jsdt.ui.superType.container | 1 + .../org.eclipse.wst.jsdt.ui.superType.name | 1 + .../org.eclipse.wst.validation.prefs | 2 + TestRest/pom.xml | 97 + .../fr/insa/rest/TestRest/ClientRest.java | 13 + .../fr/insa/rest/TestRest/ClientRest.class | Bin 0 -> 1376 bytes .../web-resources/META-INF/MANIFEST.MF | 4 + .../fr.insa.rest/TestRest/pom.properties | 7 + .../maven/fr.insa.rest/TestRest/pom.xml | 97 + 127 files changed, 8193 insertions(+) create mode 100644 AnalyseClient/.classpath create mode 100644 AnalyseClient/.project create mode 100644 AnalyseClient/.settings/org.eclipse.jdt.core.prefs create mode 100644 AnalyseClient/.settings/org.eclipse.m2e.core.prefs create mode 100644 AnalyseClient/pom.xml create mode 100644 AnalyseClient/src/main/java/ClientOfAnalyzer.java create mode 100644 AnalyseClient/src/main/resources/wsdl/analyzer.wsdl create mode 100644 AnalyseClient/target/classes/ClientOfAnalyzer.class create mode 100644 AnalyseClient/target/classes/META-INF/MANIFEST.MF create mode 100644 AnalyseClient/target/classes/META-INF/maven/fr.insa.soap/ClientWS/pom.properties create mode 100644 AnalyseClient/target/classes/META-INF/maven/fr.insa.soap/ClientWS/pom.xml create mode 100644 AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties create mode 100644 AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/AnalyserChaineWS.class create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Analyzer.class create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Compare.class create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/CompareResponse.class create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class create mode 100644 AnalyseClient/target/classes/fr/insa/soap/wsdltojava/package-info.class create mode 100644 AnalyseClient/target/classes/wsdl/analyzer.wsdl create mode 100644 AnalyseClient/target/cxf-codegen-plugin-markers/.3B50E8084EFAFD2FEAFB634EE499AF485E9DB4E3 create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/AnalyserChaineWS.java create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Analyzer.java create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Compare.java create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/CompareResponse.java create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java create mode 100644 AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java create mode 100644 Benevolat/.classpath create mode 100644 Benevolat/.project create mode 100644 Benevolat/.settings/org.eclipse.jdt.core.prefs create mode 100644 Benevolat/.settings/org.eclipse.m2e.core.prefs create mode 100644 Benevolat/pom.xml create mode 100644 Benevolat/src/main/java/fr/insa/soap/AnalyserChaineApplication.java create mode 100644 Benevolat/src/main/java/fr/insa/soap/AnalyserChaineWS.java create mode 100644 Benevolat/target/classes/META-INF/MANIFEST.MF create mode 100644 Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties create mode 100644 Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml create mode 100644 Benevolat/target/classes/fr/insa/soap/AnalyserChaineApplication.class create mode 100644 Benevolat/target/classes/fr/insa/soap/AnalyserChaineWS.class create mode 100644 NumberConversion/.classpath create mode 100644 NumberConversion/.project create mode 100644 NumberConversion/.settings/org.eclipse.jdt.core.prefs create mode 100644 NumberConversion/.settings/org.eclipse.m2e.core.prefs create mode 100644 NumberConversion/pom.xml create mode 100644 NumberConversion/src/main/java/NumberConversionTester.java create mode 100644 NumberConversion/src/main/resources/wsdl/numberconversion.wsdl create mode 100644 NumberConversion/target/classes/META-INF/MANIFEST.MF create mode 100644 NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties create mode 100644 NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml create mode 100644 NumberConversion/target/classes/NumberConversionTester.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversion.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberConversionSoapType.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollars.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollarsResponse.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWords.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWordsResponse.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class create mode 100644 NumberConversion/target/classes/fr/insa/soap/wsdltojava/package-info.class create mode 100644 NumberConversion/target/classes/wsdl/numberconversion.wsdl create mode 100644 NumberConversion/target/cxf-codegen-plugin-markers/.06AC7E89EFA784B989AF93554BD7BC700CCD147E create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java create mode 100644 NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java create mode 100644 RestProject/.classpath create mode 100644 RestProject/.project create mode 100644 RestProject/.settings/.jsdtscope create mode 100644 RestProject/.settings/org.eclipse.core.resources.prefs create mode 100644 RestProject/.settings/org.eclipse.jdt.core.prefs create mode 100644 RestProject/.settings/org.eclipse.m2e.core.prefs create mode 100644 RestProject/.settings/org.eclipse.wst.common.component create mode 100644 RestProject/.settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 RestProject/.settings/org.eclipse.wst.validation.prefs create mode 100644 RestProject/pom.xml create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/Binome.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/Comparator.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/Etudiant.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/EtudiantRessource.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/Link.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/MyResource.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/Stage.java create mode 100644 RestProject/src/main/java/fr/insa/rest/RestProject/StageRessource.java create mode 100644 RestProject/src/main/webapp/WEB-INF/web.xml create mode 100644 RestProject/src/main/webapp/index.jsp create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/Binome.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/Comparator.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/Etudiant.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/EtudiantRessource.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/Link.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/MyResource.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/Stage.class create mode 100644 RestProject/target/classes/fr/insa/rest/RestProject/StageRessource.class create mode 100644 RestProject/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF create mode 100644 RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.properties create mode 100644 RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.xml create mode 100644 Servers/.project create mode 100644 Servers/.settings/org.eclipse.core.resources.prefs create mode 100644 Servers/.settings/org.eclipse.wst.server.core.prefs create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/catalina.policy create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/catalina.properties create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/context.xml create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/server.xml create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/tomcat-users.xml create mode 100644 Servers/Tomcat v10.1 Server at localhost-config/web.xml create mode 100644 TestRest/.classpath create mode 100644 TestRest/.project create mode 100644 TestRest/.settings/.jsdtscope create mode 100644 TestRest/.settings/org.eclipse.core.resources.prefs create mode 100644 TestRest/.settings/org.eclipse.jdt.core.prefs create mode 100644 TestRest/.settings/org.eclipse.m2e.core.prefs create mode 100644 TestRest/.settings/org.eclipse.wst.common.component create mode 100644 TestRest/.settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 TestRest/.settings/org.eclipse.wst.validation.prefs create mode 100644 TestRest/pom.xml create mode 100644 TestRest/src/main/java/fr/insa/rest/TestRest/ClientRest.java create mode 100644 TestRest/target/classes/fr/insa/rest/TestRest/ClientRest.class create mode 100644 TestRest/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF create mode 100644 TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.properties create mode 100644 TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.xml diff --git a/AnalyseClient/.classpath b/AnalyseClient/.classpath new file mode 100644 index 0000000..2b8cab8 --- /dev/null +++ b/AnalyseClient/.classpath @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AnalyseClient/.project b/AnalyseClient/.project new file mode 100644 index 0000000..93d21b3 --- /dev/null +++ b/AnalyseClient/.project @@ -0,0 +1,23 @@ + + + AnalyseClient + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/AnalyseClient/.settings/org.eclipse.jdt.core.prefs b/AnalyseClient/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..2f5cc74 --- /dev/null +++ b/AnalyseClient/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/AnalyseClient/.settings/org.eclipse.m2e.core.prefs b/AnalyseClient/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/AnalyseClient/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/AnalyseClient/pom.xml b/AnalyseClient/pom.xml new file mode 100644 index 0000000..eb420ee --- /dev/null +++ b/AnalyseClient/pom.xml @@ -0,0 +1,54 @@ + + 4.0.0 + fr.insa.ws.soap + AnalyseClient + 0.0.1-SNAPSHOT + + 17 + 3.4.2 + + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + + + org.apache.cxf + cxf-codegen-plugin + ${cxf.version} + + + generate-sources + generate-sources + + + ${project.build.directory}/generated-sources/cxf + + + + + ${basedir}/src/main/resources/wsdl/analyzer.wsdl + + + fr.insa.soap.wsdltojava + + + + + + wsdl2java + + + + + + + \ No newline at end of file diff --git a/AnalyseClient/src/main/java/ClientOfAnalyzer.java b/AnalyseClient/src/main/java/ClientOfAnalyzer.java new file mode 100644 index 0000000..1d68b45 --- /dev/null +++ b/AnalyseClient/src/main/java/ClientOfAnalyzer.java @@ -0,0 +1,17 @@ +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URL; + +import fr.insa.soap.wsdltojava.AnalyserChaineWS; +import fr.insa.soap.wsdltojava.Analyzer; + +public class ClientOfAnalyzer { + public static void main(String [] args) throws MalformedURLException{ + final String adresse="http://localhost:8089/analyzer"; + final URL url = URI.create(adresse).toURL(); + final Analyzer service = new Analyzer(url); + final AnalyserChaineWS port = service.getPort(AnalyserChaineWS.class); + String chaine = "aseuthasontehu"; + System.out.println("La taille de la chaine " + chaine + " est " + port.compare(chaine)); + } +} diff --git a/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl b/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl new file mode 100644 index 0000000..c258088 --- /dev/null +++ b/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AnalyseClient/target/classes/ClientOfAnalyzer.class b/AnalyseClient/target/classes/ClientOfAnalyzer.class new file mode 100644 index 0000000000000000000000000000000000000000..9a959f4e28f7b6724057dcea6fd3225f9781e937 GIT binary patch literal 1509 zcmaJ>?{^bL6ur|X-85bKkrJ?qWhnvDLRm!Ak{}8Zw6OhQLyHB!Op|G|oXu{|?gYjE zNjO z6+e|*ff6WqQ9}kBGWN}WaG238KQXq$d8>@smVPL3w*10-m%pxKKisLBocV{pG*n0X zQJ7dL2u!D5q0;V>47Q`Vt(xm=-o8@~XXw+?x>Ir8z+h=biLNZ%T)5-PLA80D#fKKo z3E2C=*4GwoOyMKe+=!LbEM=yA1fu?tNzWTq6Y0E-PcSWz)e(V^#`5g2lUKFi2sqoZ z>xYSSlSp>lpOa>wqcr(m3-Y*t8AIzOfzyM`{WKnVuy9$Rd~A$F#kCf>RL|-r)>Rv2 z%nDdLO0PySn|XP-o?0N2q&h%4)bnZ%*91<;M0IsbCQ+zWt2>T)xE5|4&`AAtqE*|* zO?*myL|tYm_6zqTca{Cq?4puw*8iEnxx>wU(Dj3+igWm!Mo&6g`az(arg8%5G}1zx zJZ|Aj!^r|;52N4Lhw-S`sNyagCp#S#HU;L7a(%Ct0{|?T`p!Bk(ar=)_{PS4JRon4 zsNInRDoI#C;l0{9cca}nV51L8mA5FPSAK)H zX1rtN##h5kZzq-3-0{9c(&U}7es?+A^{5*+)Fa +4.0.0 +fr.insa.soap +ClientWS +0.0.1-SNAPSHOT + +11 +3.4.2 + + + + +com.sun.xml.ws +jaxws-rt +2.3.3 + + + + + +org.apache.cxf +cxf-codegen-plugin +${cxf.version} + + +generate-sources +generate-sources + + +${project.build.directory}/generated-sources/cxf + + + +${basedir}/src/main/resources/wsdl/analyzer.wsdl + +fr.insa.soap.wsdltojava + + + + + +wsdl2java + + + + + + + \ No newline at end of file diff --git a/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties b/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties new file mode 100644 index 0000000..7f4e015 --- /dev/null +++ b/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Tue Oct 08 14:15:42 CEST 2024 +artifactId=AnalyseClient +groupId=fr.insa.ws.soap +m2e.projectLocation=/home/nbillard/eclipse-workspace/AnalyseClient +m2e.projectName=AnalyseClient +version=0.0.1-SNAPSHOT diff --git a/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml b/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml new file mode 100644 index 0000000..eb420ee --- /dev/null +++ b/AnalyseClient/target/classes/META-INF/maven/fr.insa.ws.soap/AnalyseClient/pom.xml @@ -0,0 +1,54 @@ + + 4.0.0 + fr.insa.ws.soap + AnalyseClient + 0.0.1-SNAPSHOT + + 17 + 3.4.2 + + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + + + org.apache.cxf + cxf-codegen-plugin + ${cxf.version} + + + generate-sources + generate-sources + + + ${project.build.directory}/generated-sources/cxf + + + + + ${basedir}/src/main/resources/wsdl/analyzer.wsdl + + + fr.insa.soap.wsdltojava + + + + + + wsdl2java + + + + + + + \ No newline at end of file diff --git a/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/AnalyserChaineWS.class b/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/AnalyserChaineWS.class new file mode 100644 index 0000000000000000000000000000000000000000..a8ffd9194e1f25449faf3255cf243e92e12d1c73 GIT binary patch literal 986 zcmb7DO>Yx15FLj$q2(hfq=f=)p?tJl)(3hbr>If|Qu$CK5hP9%$4wl0?Zx({?O)@- z58y{3#=B`kA`s%R+V#x5nfLaMfBgLR9RQBtc?~KI4$mA{#v}I@Gk)#|I@mEzkhcx$ zOE2B=2$hk&ZVgr#G>Vi)GvpuoV<`fIny_hxPBPd$Je{Yz!6`Fry?o1HyOW!sQu#@F z)z`9Zj13r+HJ&g9I~hiH(3;0DQca|ITf};buPT$}H1*XegzPmhSSOKx zLOPZy^C`8C{F+NosH)9F0YCabxX*|zDcqT|owAzt?K#Xc>4@E$wgUBgOsTdW&<$mX z2cMy!Nb^ra2_!UnUxN0|T&X6yk<8slj<0_5?lOgv+nhsvCi;r?!9SXIh+wI2$qh>6 zI*_gvQ%I^h8FFVB0E7KSQ$M1kk|5oJyUj&+i=t?vh&#n#y=!wP?y^;7 zB>5U$8ar2XJSxLGWw-*nl&HX7F)rpF(^K>%>=W20#M3Xp1U&l%MtUHw literal 0 HcmV?d00001 diff --git a/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Analyzer.class b/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/Analyzer.class new file mode 100644 index 0000000000000000000000000000000000000000..4dedb5e518b6823f9f1cf7cc898a1b97f99d478b GIT binary patch literal 2900 zcma)8T~`xV6x}ya6XJlHiijT=KUxFCj8$9IU@JywDFKvVD7CE}k_(JZX0m1`YVGPn ze@$Pjt|eV{wX4tlQEm6VGsYCs!ULJPU;FI6&$(y#^RHij2XF-&NhAca>%M8bfn^4s z)ij?3btm*5T8}Mr%C(&Do=HE6UV+1E>Z$p(;c$ytk^W=5CI$LeD!0oI%8R9`<=Mpr zfq}9<>dMf(w^S|)BrDTP)!EXtz;V44LAX{!22HCb&ASVH<-Wr@S|I(>re(WwrE`oD?uRO-SLC z!0Ni~$m`~&*N~>WW;>4M*G)-n%|Kpw;`xsvH)0b?jxF8L4E&nepc|$y1Fz-RWT4Yy zzTsa`$x7n{PAd^-1O~fsAFZZw4(})Np1=XkODiimRuC9Cj~sKfAw!i0nwA^gsWpu; zm$Ok+bcrm&+xIAy%|61755^3e|Qp*kPhOF9w&9azsS>xJPvOl)N$7#3T^lUfe!CuuP zllW2~x7TpW^sfwjjc=kB5q0GFYILuRs3_kym||x;i7$uB;O?gF-4sRBQZ&~DtSC8q zB)10^ZyRQteY&E1@eCU}@0iXiKavHtQ{dE&9K^L8wR9%pKxp}Kztue-r}^#Z;rF-) z!>V8KZCHI(^phVHKGkm;`?=5H=r{Bt!Ds0;`d2dtGKaSC?n?~CqhUQdCgxt_#A;?_ z3)#7!aHO0OuWQWIG;dW6CWfINvS2zzcL6s4%R4v|MQ?xHBT<7j7JTb0*FO z@0%nQRyI&$c$imWp(p%sbS5Lu5Jaa!X@>UT=Iq#8r6;c$>N`p+zspeVtq&P$eKVFV zRB1EuA=X)==bM2upYjWLmkhr+5XFN-yQsvJXia0eqf&P=557ew>D_1jEM zFwBJrP$#Xs)-LpJOEco&T*OntY8{)YjpV+{7{l^PwzDs0SUj3)uM#;_P7(8-*2W93 zj3(sGeC#E^OkzG#dd$W3DSw~Ddr>5vGxp?DDha;ey+d7UgZ+cIgEtJ%|L;($Yg!~k z-iV6FWN4<=q=$AaExL3iRr(X?eX@I@s7f)t53NngIPHw~VBs zMDQJx<-*F5bh*(^w$NahEs<2{L%u&bmWgL*y|L04Rx_|6!~CewUS)EuoSLL^TWjNm zS5$yuH4f@ieww9xqV$xDKPZ2drMs!jr1no48d_wMq4~RT^O@4hZ!y%@24jME%v5$z zN3V++bQyZF((*--O{6^#)Rkc_Hi<~b!m4ntJ~sT3A{&GFk`t4Y_M!BnYCLK_Y=hx; z7ZI9-xihS>HVn?96Ok6wzVp%)Hj#TOc)9t{A|Hn>Fl=1BjqN0n&KY~~K9^)1Uy(hoLFA=rlw53O#Lya1AWn0>!HY zamtKxwEhLxKGI7KvlN38RP8#&KqUg^aDy`K2e&Am7k@(k1A%{wH~uTWgZWClMeG`B zn(K?7(LZb5DZf6UhMQ%D{x4S5K3H2Q?bWbYcD!4TxJ0abRCz&S3HR}Ujx_Bu9=-;1 Gh<*ZmE4oJj literal 0 HcmV?d00001 diff --git a/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class b/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class new file mode 100644 index 0000000000000000000000000000000000000000..0a52061da4b3a3ba3acb71d8fffdef8d280d6d27 GIT binary patch literal 1954 zcmb_cYfsZq7=8|yZIp3w0x}SAOkf+j>cAUA$edteCWc`a_(aZ19VK16v>n2~^74U1 z5`Ta{%J`nHn`4aBMAM|__P)>a-hcl3{sX`&HiPJ4SomnknqhO@g5n55A$ZV#x3=5cPIC5i($GTgwEu%sxBM6s@gTK zsPgU(ZLlyD7|U2parOEW6j>o>{L0Lbbv`Vk0Wl3~Qd zY}zlLr@{y#KyL-jP66ikKdC2ncr>|RRf#jG%9fP8e0HJf3n@K-6I z@C_-J${p1UIYT^=yiwN^$_8^>1AAJ<;7;A5sF(i@ZQa+F4I+#d>xQFM)skjw zl-rzPm=1R|s%eH)r>(s8D(_cy&+6Bzq6^DgT|xyR_Cc&rP5mkQPH!b-@I+M5Q-)%r zio3U4TRG=-ZrknkeeI&r?OD-!{ij^7QygQyfna#!8|!AOvpyNL{tuFG_FDFcEc&)j zOPWF2GwYV3ZfkC5Uzv_+kuA~49a+1Y_o7~fN0csa4WPj zy6aC}V5U=Tp19(!TDT#EIoxvrVwm>;G6X3ALYIgiTwvid?Hkkq_deC8A8P3@V(Gem zg7j0J`kAi!F)UNG9=Kc&k*0N&@ML0sWRtItZ90o+mnE_uth;`_bcsY1H-O*Y9q{V_ literal 0 HcmV?d00001 diff --git a/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/package-info.class b/AnalyseClient/target/classes/fr/insa/soap/wsdltojava/package-info.class new file mode 100644 index 0000000000000000000000000000000000000000..ca7228e2d6b60f224045d19365369324110018ea GIT binary patch literal 249 zcmYjMv2Fq}41J-cS6~4NRqEc3JujWg#KMGx1QP1%I|76z&WVJUZ)4yC_$Wl~22@M7 zCBOIV=gakU2JneqhL*zHdQV0IQ}A5TUs&1bcl^s#arwg={b6M7GdwEvo3Ult(5%?$ zGAeWz{;)6g#8|B`_^-%ovcl{9AkjFzG{F>Bk41dsXuJf4_i4>J($QHejI4<7D1AG- yD7V`2NTDO_bV$q7jo~)N>Wdn)d2KsS_Fn*nhxAh&Ewr2Zge>)5LY`B00=hT3;YL&d literal 0 HcmV?d00001 diff --git a/AnalyseClient/target/classes/wsdl/analyzer.wsdl b/AnalyseClient/target/classes/wsdl/analyzer.wsdl new file mode 100644 index 0000000..c258088 --- /dev/null +++ b/AnalyseClient/target/classes/wsdl/analyzer.wsdl @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AnalyseClient/target/cxf-codegen-plugin-markers/.3B50E8084EFAFD2FEAFB634EE499AF485E9DB4E3 b/AnalyseClient/target/cxf-codegen-plugin-markers/.3B50E8084EFAFD2FEAFB634EE499AF485E9DB4E3 new file mode 100644 index 0000000000000000000000000000000000000000..2070da28e07b23eab630547609bd20f878230259 GIT binary patch literal 122 zcmW-aK@NgY3zT}S>uG5H?ixibxukO|OO87G zonQO|qS({TCy-r4m187Sm6jM5k4HAHpo6i#6Gs);Oc|9X7NbD=Gb)m{B=Kf_5dXpX E3#chAv;Y7A literal 0 HcmV?d00001 diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/AnalyserChaineWS.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/AnalyserChaineWS.java new file mode 100644 index 0000000..4a9e66f --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/AnalyserChaineWS.java @@ -0,0 +1,32 @@ +package fr.insa.soap.wsdltojava; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.Action; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; + +/** + * This class was generated by Apache CXF 3.4.2 + * 2024-10-02T17:53:06.830+02:00 + * Generated source version: 3.4.2 + * + */ +@WebService(targetNamespace = "http://soap.insa.fr/", name = "AnalyserChaineWS") +@XmlSeeAlso({ObjectFactory.class}) +public interface AnalyserChaineWS { + + @WebMethod + @Action(input = "http://soap.insa.fr/AnalyserChaineWS/compareRequest", output = "http://soap.insa.fr/AnalyserChaineWS/compareResponse") + @RequestWrapper(localName = "compare", targetNamespace = "http://soap.insa.fr/", className = "fr.insa.soap.wsdltojava.Compare") + @ResponseWrapper(localName = "compareResponse", targetNamespace = "http://soap.insa.fr/", className = "fr.insa.soap.wsdltojava.CompareResponse") + @WebResult(name = "return", targetNamespace = "") + public int compare( + + @WebParam(name = "chain", targetNamespace = "") + java.lang.String chain + ); +} diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Analyzer.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Analyzer.java new file mode 100644 index 0000000..62293cb --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Analyzer.java @@ -0,0 +1,87 @@ +package fr.insa.soap.wsdltojava; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.Service; + +/** + * This class was generated by Apache CXF 3.4.2 + * 2024-10-02T17:53:06.867+02:00 + * Generated source version: 3.4.2 + * + */ +@WebServiceClient(name = "analyzer", + wsdlLocation = "file:/home/nbillard/eclipse-workspace/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl", + targetNamespace = "http://soap.insa.fr/") +public class Analyzer extends Service { + + public final static URL WSDL_LOCATION; + + public final static QName SERVICE = new QName("http://soap.insa.fr/", "analyzer"); + public final static QName AnalyserChaineWSPort = new QName("http://soap.insa.fr/", "AnalyserChaineWSPort"); + static { + URL url = null; + try { + url = new URL("file:/home/nbillard/eclipse-workspace/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl"); + } catch (MalformedURLException e) { + java.util.logging.Logger.getLogger(Analyzer.class.getName()) + .log(java.util.logging.Level.INFO, + "Can not initialize the default wsdl from {0}", "file:/home/nbillard/eclipse-workspace/AnalyseClient/src/main/resources/wsdl/analyzer.wsdl"); + } + WSDL_LOCATION = url; + } + + public Analyzer(URL wsdlLocation) { + super(wsdlLocation, SERVICE); + } + + public Analyzer(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public Analyzer() { + super(WSDL_LOCATION, SERVICE); + } + + public Analyzer(WebServiceFeature ... features) { + super(WSDL_LOCATION, SERVICE, features); + } + + public Analyzer(URL wsdlLocation, WebServiceFeature ... features) { + super(wsdlLocation, SERVICE, features); + } + + public Analyzer(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { + super(wsdlLocation, serviceName, features); + } + + + + + /** + * + * @return + * returns AnalyserChaineWS + */ + @WebEndpoint(name = "AnalyserChaineWSPort") + public AnalyserChaineWS getAnalyserChaineWSPort() { + return super.getPort(AnalyserChaineWSPort, AnalyserChaineWS.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns AnalyserChaineWS + */ + @WebEndpoint(name = "AnalyserChaineWSPort") + public AnalyserChaineWS getAnalyserChaineWSPort(WebServiceFeature... features) { + return super.getPort(AnalyserChaineWSPort, AnalyserChaineWS.class, features); + } + +} diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Compare.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Compare.java new file mode 100644 index 0000000..bf3eb38 --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/Compare.java @@ -0,0 +1,60 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour compare complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType name="compare"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="chain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "compare", propOrder = { + "chain" +}) +public class Compare { + + protected String chain; + + /** + * Obtient la valeur de la propriété chain. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChain() { + return chain; + } + + /** + * Définit la valeur de la propriété chain. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChain(String value) { + this.chain = value; + } + +} diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/CompareResponse.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/CompareResponse.java new file mode 100644 index 0000000..fd21b0e --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/CompareResponse.java @@ -0,0 +1,54 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour compareResponse complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType name="compareResponse"&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="return" type="{http://www.w3.org/2001/XMLSchema}int"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "compareResponse", propOrder = { + "_return" +}) +public class CompareResponse { + + @XmlElement(name = "return") + protected int _return; + + /** + * Obtient la valeur de la propriété return. + * + */ + public int getReturn() { + return _return; + } + + /** + * Définit la valeur de la propriété return. + * + */ + public void setReturn(int value) { + this._return = value; + } + +} diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java new file mode 100644 index 0000000..c0fc773 --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java @@ -0,0 +1,79 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the fr.insa.soap.wsdltojava package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Compare_QNAME = new QName("http://soap.insa.fr/", "compare"); + private final static QName _CompareResponse_QNAME = new QName("http://soap.insa.fr/", "compareResponse"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: fr.insa.soap.wsdltojava + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Compare } + * + */ + public Compare createCompare() { + return new Compare(); + } + + /** + * Create an instance of {@link CompareResponse } + * + */ + public CompareResponse createCompareResponse() { + return new CompareResponse(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Compare }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link Compare }{@code >} + */ + @XmlElementDecl(namespace = "http://soap.insa.fr/", name = "compare") + public JAXBElement createCompare(Compare value) { + return new JAXBElement(_Compare_QNAME, Compare.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CompareResponse }{@code >} + * + * @param value + * Java instance representing xml element's value. + * @return + * the new instance of {@link JAXBElement }{@code <}{@link CompareResponse }{@code >} + */ + @XmlElementDecl(namespace = "http://soap.insa.fr/", name = "compareResponse") + public JAXBElement createCompareResponse(CompareResponse value) { + return new JAXBElement(_CompareResponse_QNAME, CompareResponse.class, null, value); + } + +} diff --git a/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java new file mode 100644 index 0000000..d36a261 --- /dev/null +++ b/AnalyseClient/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://soap.insa.fr/") +package fr.insa.soap.wsdltojava; diff --git a/Benevolat/.classpath b/Benevolat/.classpath new file mode 100644 index 0000000..f7e4a1d --- /dev/null +++ b/Benevolat/.classpath @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Benevolat/.project b/Benevolat/.project new file mode 100644 index 0000000..0cb515e --- /dev/null +++ b/Benevolat/.project @@ -0,0 +1,23 @@ + + + Benevolat + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/Benevolat/.settings/org.eclipse.jdt.core.prefs b/Benevolat/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..2f5cc74 --- /dev/null +++ b/Benevolat/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/Benevolat/.settings/org.eclipse.m2e.core.prefs b/Benevolat/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/Benevolat/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/Benevolat/pom.xml b/Benevolat/pom.xml new file mode 100644 index 0000000..83f783c --- /dev/null +++ b/Benevolat/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + fr.insa.ws.soap + Benevolat + 0.0.1-SNAPSHOT + + + 11 + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + \ No newline at end of file diff --git a/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineApplication.java b/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineApplication.java new file mode 100644 index 0000000..a44de4b --- /dev/null +++ b/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineApplication.java @@ -0,0 +1,20 @@ +package fr.insa.soap; + +import java.net.MalformedURLException; + +import javax.xml.ws.Endpoint; + +public class AnalyserChaineApplication { + public static String host="localhost"; + public static short port=8089; + + public void demarrerService() { + String url="http://"+host+":" +port + "/"; + Endpoint.publish(url, new AnalyserChaineWS()); + } + + public static void main(String [] args) throws MalformedURLException { + new AnalyserChaineApplication().demarrerService(); + System.out.println("Service a demarré"); + } +} diff --git a/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineWS.java b/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineWS.java new file mode 100644 index 0000000..eb6ab4a --- /dev/null +++ b/Benevolat/src/main/java/fr/insa/soap/AnalyserChaineWS.java @@ -0,0 +1,14 @@ +package fr.insa.soap; + + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebService; + +@WebService(serviceName="analyzer") +public class AnalyserChaineWS { + @WebMethod(operationName="compare") + public int analyser(@WebParam(name="chain") String chaine) { + return chaine.length(); + } +} diff --git a/Benevolat/target/classes/META-INF/MANIFEST.MF b/Benevolat/target/classes/META-INF/MANIFEST.MF new file mode 100644 index 0000000..3cbb63e --- /dev/null +++ b/Benevolat/target/classes/META-INF/MANIFEST.MF @@ -0,0 +1,4 @@ +Manifest-Version: 1.0 +Build-Jdk-Spec: 22 +Created-By: Maven Integration for Eclipse + diff --git a/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties b/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties new file mode 100644 index 0000000..8197bfa --- /dev/null +++ b/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Wed Oct 02 16:52:40 CEST 2024 +artifactId=Benevolat +groupId=fr.insa.ws.soap +m2e.projectLocation=/home/nbillard/eclipse-workspace/Benevolat +m2e.projectName=Benevolat +version=0.0.1-SNAPSHOT diff --git a/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml b/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml new file mode 100644 index 0000000..83f783c --- /dev/null +++ b/Benevolat/target/classes/META-INF/maven/fr.insa.ws.soap/Benevolat/pom.xml @@ -0,0 +1,21 @@ + + 4.0.0 + fr.insa.ws.soap + Benevolat + 0.0.1-SNAPSHOT + + + 11 + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + \ No newline at end of file diff --git a/Benevolat/target/classes/fr/insa/soap/AnalyserChaineApplication.class b/Benevolat/target/classes/fr/insa/soap/AnalyserChaineApplication.class new file mode 100644 index 0000000000000000000000000000000000000000..f91a8b6a583da99b9c2d00dd730e0938fe425d86 GIT binary patch literal 1377 zcma)6*-{fx5Ir{unPeOSBrJ-oE*L z#3qZTVHy52hH!d#h3;nTl8B+1A#U15ZptumFtliBLR7BWG$@GCNuDxUs8-g6`<}0x zLV`(;748~x-#Cm;2Juyd(W#*wDq;9#!(&M2|BoVN+)@%1?z+M)2zT2k3I$ggx=vG@ zt{P@ZxH0rHC}rPwCUjjzH~J;+07FOm>}w3KNQ-M4uHyznlsk^FN(^J?nV#`(0A^zt zqUW5Dk;h;psU{k0oB$Q?{PbnP^m+aMd-b zq!rR7LudNqG2e#Zq^#83PEj~gu$}@ETVGH+OZfUcH#cmzB1#{Y^M8$0(iu@4ja-7ZnY&ctu&*RZ?_E9o(?>C6c;N_<~ocI&-AWhH?h@KwV2ezo>YN zc?EffRFKU{Hw_C?Gm0Z4nZzx^-Az($>Kul|uV7c*qL?*gAN2jRTgN3328mdhT0Mlg zY${sCWlPZ;Jru)~~b=AxWc3GswP)JW|0a$etRk;jPmw z{hLM(&~fAz4GxvSMXMX23zx}|$)~1KLYtJJ44*kf_gb>&0DXH%)G(O5Ny8pmYq*sh zp=AxX^P`8ztR3L)H{4r2!bt=aWj8cKMYx16db2XwoOu6N)sqh`T>>NBC!`Ps0gX5goG3dA}BpOTa!52*pb&Mw7-c9 z7mzsc1Nc#hS#LzOAaSt$o;`2gcf8H`op1?tbW(f)Of zeVu7`I5x(5>9sX%&<-V^;_=5UK2w9&%8%?hX_xI(xd1wq6N-!yJDEzyXt&JvRyqQ_ zawXdJGHn2nwQ2%cEy+!6U<3Ce+%4Hy$Zp|2HtA)m%+Qa5m%K+klm*BBxu-y*XJ;-^ zFLmx|`|sy^l2-_H%DQ^WUFbwnS(8tjhsA9RQ?Hc64%nTa0;n+J3v!N_#aso~+Tk}W zehJ47&iOI0geK=!0pPmKOyCAqNVUqi$?PV_T83L#&!IV4o1>HAcHn=;q{5ThDFAbRLh%4wp=>+gcmDL+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NumberConversion/.project b/NumberConversion/.project new file mode 100644 index 0000000..7ed66d5 --- /dev/null +++ b/NumberConversion/.project @@ -0,0 +1,23 @@ + + + NumberConversion + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/NumberConversion/.settings/org.eclipse.jdt.core.prefs b/NumberConversion/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..2f5cc74 --- /dev/null +++ b/NumberConversion/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/NumberConversion/.settings/org.eclipse.m2e.core.prefs b/NumberConversion/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/NumberConversion/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/NumberConversion/pom.xml b/NumberConversion/pom.xml new file mode 100644 index 0000000..778ad96 --- /dev/null +++ b/NumberConversion/pom.xml @@ -0,0 +1,54 @@ + + 4.0.0 + fr.insa.soap + NumberConversion + 0.0.1-SNAPSHOT + + 17 + 3.4.2 + + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + + + org.apache.cxf + cxf-codegen-plugin + ${cxf.version} + + + generate-sources + generate-sources + + + ${project.build.directory}/generated-sources/cxf + + + + + ${basedir}/src/main/resources/wsdl/numberconversion.wsdl + + + fr.insa.soap.wsdltojava + + + + + + wsdl2java + + + + + + + \ No newline at end of file diff --git a/NumberConversion/src/main/java/NumberConversionTester.java b/NumberConversion/src/main/java/NumberConversionTester.java new file mode 100644 index 0000000..807ff42 --- /dev/null +++ b/NumberConversion/src/main/java/NumberConversionTester.java @@ -0,0 +1,19 @@ +import java.math.BigInteger; +import java.net.MalformedURLException; +import java.net.URI; +import java.net.URL; + +import fr.insa.soap.wsdltojava.NumberConversion; +import fr.insa.soap.wsdltojava.NumberConversionSoapType; + + +public class NumberConversionTester { + public static void main(String [] args) throws MalformedURLException{ + final String adresse="https://www.dataaccess.com/webservicesserver/numberconversion.wso"; + final URL url = URI.create(adresse).toURL(); + final NumberConversion service = new NumberConversion(url); + final NumberConversionSoapType port = service.getPort(NumberConversionSoapType.class); + BigInteger test = new BigInteger("412342"); + System.out.println("We call " + test + " " + port.numberToWords(test)); + } +} diff --git a/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl b/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl new file mode 100644 index 0000000..3c84059 --- /dev/null +++ b/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the word corresponding to the positive number passed as parameter. Limited to quadrillions. + + + + + Returns the non-zero dollar amount of the passed number. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts. + + + + + + + + \ No newline at end of file diff --git a/NumberConversion/target/classes/META-INF/MANIFEST.MF b/NumberConversion/target/classes/META-INF/MANIFEST.MF new file mode 100644 index 0000000..3cbb63e --- /dev/null +++ b/NumberConversion/target/classes/META-INF/MANIFEST.MF @@ -0,0 +1,4 @@ +Manifest-Version: 1.0 +Build-Jdk-Spec: 22 +Created-By: Maven Integration for Eclipse + diff --git a/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties b/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties new file mode 100644 index 0000000..c24a0e5 --- /dev/null +++ b/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Tue Oct 08 14:51:58 CEST 2024 +artifactId=NumberConversion +groupId=fr.insa.soap +m2e.projectLocation=/home/nbillard/eclipse-workspace/NumberConversion +m2e.projectName=NumberConversion +version=0.0.1-SNAPSHOT diff --git a/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml b/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml new file mode 100644 index 0000000..778ad96 --- /dev/null +++ b/NumberConversion/target/classes/META-INF/maven/fr.insa.soap/NumberConversion/pom.xml @@ -0,0 +1,54 @@ + + 4.0.0 + fr.insa.soap + NumberConversion + 0.0.1-SNAPSHOT + + 17 + 3.4.2 + + + + + + com.sun.xml.ws + jaxws-rt + 2.3.6 + + + + + + org.apache.cxf + cxf-codegen-plugin + ${cxf.version} + + + generate-sources + generate-sources + + + ${project.build.directory}/generated-sources/cxf + + + + + ${basedir}/src/main/resources/wsdl/numberconversion.wsdl + + + fr.insa.soap.wsdltojava + + + + + + wsdl2java + + + + + + + \ No newline at end of file diff --git a/NumberConversion/target/classes/NumberConversionTester.class b/NumberConversion/target/classes/NumberConversionTester.class new file mode 100644 index 0000000000000000000000000000000000000000..e0d210bddf20ebfa258c6cdb5d6239a3d373e952 GIT binary patch literal 1672 zcma)-ZC4XV6vzJq2^->qx)_z(LbTWhC|N~XT4J$6wbCw#BtWTs8a88C&t@lQcS7pN zYF~u5oa5=so_;8gcXk6NDKB_4GdmCW{_cP7o&E34->(5I;8z0!3|BXr^?ebp%HU9h zktc(Sh?EEoq!=!}yb1)f@F7%WWhFr-#xRb(-UVH0T#FnI`ATf>(1HUOJupuy@2ov&z*M^Wfgist)x9?AN}Tv zh9cm|fWO}&pu3&K$0iDxW-w|(ZOV|c;C6R>t3HpSQir@NS%`j?;Yy5J z=jy;-@oH;<5;YNKFh^=F+?~I-FrUQ?Y)yTKA=hp9^smctW~dyCZ6g0F&bJ} zpXxHj!y3Viol%{%jaNfmM!NX>g{RUUY=%C=Xm6_1sZRY-h|YP_R6i7rI3?%LedZ*! z^;t!a9X&D$O24A?$dqL>bj4#&KV&!h>n(XHi#kHw1jR+qDlkAJdJ3sE=*y;_QJ#kVJpC6Q4S>dN zthKTJj%p(IWl|s`L^FyUk>rVFmMF@wV%p_|16wo$+W8C>Y!j!6C)mL*k>~IL-(!!~ a^7NPa0ndqj7Ss3^ySoP^cQZf17_ww+$| z*YvjPjCATur`NsdKWh7)v+J5BOU21dPR`f!KJW8>oc#IsZ@&Y$1Y1E5!$i%~Eyp)> z-!+>0wqLaa_ldD(=qs&8g?k0p+2WpWxsHN9hQng(nf|O{(^0*|y)Db+41*h`+r`Jl z)xzBR;_3>+P*FlSJkam074r;AX@0G|SeR!Rm0KZ%V>GzmG)%7FU7??J?r^8o60u?! zPFlV&!;rdW+LmJl*BN>zCd&+c1-Hr->}MExOSQvJ3I`dcH-n%#tLxj_+qtR{7=~$b z-_MzDL*M2VKlIEOBlq+a4lx|)B%xvmM>GuMD8s&M5skAGq3^cg)b&!}Sx!CQy)s$u z2T|0ZAeBPDn4HkiFD9y(e564|O2IgT)-GiVrx>a=%jUECrrY4UQ?YE@@Txi|A(}ov zx9xgQLrpvB>b_^{4a0JDkNa-RBY$PQbw@_pj3b>BS)d|=kA-t*7>*?PG+93 z`w1vqV8|tL3BeNp^8J+Pmlb@%a5TXP-{Q80EBKTWXK`g=l|qsPC647&n5C>K7*57< zgN%r_W!TpDJQHm4OqJJ+mK|h-a+#XvHZnh)|4}%2O~Ypp*-4Hu+>FTom#KvB)~9V{ zwep0UK|aiyn;JgAJ_WZJ#^T&qHtd?~HF%ZkZT^|bn*o(9MW$#uJWPajqheDi(nZ%a z?6TomVjeB_wmh4G(RL=ZDk?V-l4^9Y6d2~yWuqBgJ{URmrrJej^kPZmPLUMr*p>Ln zUX%^FUO*Vd|Zpc-Ur=n$`xdM15<48$rwCB?5`@&P!BzdzDh$SpTjm`tZnF%L%Lo zFI&DvX)@=V6K!8Z)&-`A`N!nYa>RKnJA$Mu4^WRf!` zOxCxJC*R&?qM~8Aw}%vXe~|=TF6h=6j4)_>B>C=;w)qu%F|tdH#WSduWItb^cY(Tf zXC~xCm!LPLD{fI86l{yj;O!3#FY4Ly3Bfo$MZNTAp${XX=g_Ya@nXr59xFN0J4NFF zeGfpR^Mf?|i*EGLc=t7i9;6SX(>pl)633$1aXA}}W*^Gg7+ZRc%!BmF9h_eJ8N6p!KreXdL=E=}vhgb+F> zEDPuQvr{i{YzJRHr%8__qsomeX)zTWp@Ue)3Y`(ZR>>T7TG1OLxJ7~!8Y|hU=>)JG zUC#ueABA#S}H%Lz$2S;zop6Bt+q_D&-@WyYOa7r+k~sYK*7GE~^r` zM~M$brR}^#Lb51V%$`Wn~J0)6lp<-cpnc)+^?iU3=e7LYo92J zM86WLJV^44rXTI#@gI2f3vGn?AYu(HwP`#UYkVK(Zm742p2)DF5S28qCctjANj?<2 zG89S9P*0+*cF`W&jdmrGc0Gx9h}uq@Pfgc5S{f2%(p-qdx%YhR;ph8s%sT7n{1c}qynI?|byJmNtw115Q zKY$;F7~6?M(pL0f**iP$&6~G7{{83YF93K0`(-FGczteosI1^tiuCShiE zj3!Gu6%o=pS6m3#=;JOTNqzAe{z%Zeh7mF02tO@#AY_iMIAL1o(uIvhKx{AD&c$yz z@AZ0KQ#c`l0Il@`9q}Ie7EL!y1N272i7b%9+MI0X+<2*_UTUc~wA33DxH&G+#?&wl z6)uecY9uY)XYlG)1%~-!4$?*<9XT+eGUFD;%g`=^?a?FoA`B%vG$UuTIC?f&5)n@& zen_MYDyn}ejkp5G)gZS^J~gWZ2_iXW;b7sY_^Z;`Ac9!jf; zW3nq`LL#asH;r{ZuE!#9+FTw?F<@|qeg^<08tX}zf)bQz^$sTBF6~WQn1OqgazFi; zweSEc7Up0+4?QeG3$RGgB@4@WXoX1TQ})$7yq1Nj#v^!qwZ{6O#(F`xF{rUwgti7X lo?Kt!X&x@YcG?d-%Q{)7ujlk++DYFI?2@YLcVGeR{RISkdcyz! literal 0 HcmV?d00001 diff --git a/NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollars.class b/NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToDollars.class new file mode 100644 index 0000000000000000000000000000000000000000..73ab7651120dbf2ae9496d8be8554a13a68b386a GIT binary patch literal 956 zcma)3T~AX%5Ix&ZDAgirrTB>;v?Xy9sdBHd4|FKZ!K&D-&|@JIh~3dPmDh8b?LuV)=fgVi{)1Ib$e1RYtiM zL$==Nk%t#HlqF{>-^UMK&6p|C|9iDGsD- zryVcX8`FE92g8jr@+c5I`30}lr=z|9{ISp@GFdvXqd1Ve$~(SxVF3^QfEl)C&ulvg zWRlpp`*A4A?%3i#Cp<<^u=(AWJDoPe+H8dhI%h;gE~(e~VQhzcaVTSk=4|f1weEbY zl?xqWm8zv1M$V6qUPapX0-bYS=MDUhnO`x*OO)btk_Y6Q-*EXeT{2jt=$XJeu2A$) z0$>SO>7=pZI>o=qUr_x-$v?@DrjnOYn~+^@xpXQ0ZIR%!v_f@^n#g-= qE2+H=+h=yB}uzU;@$IWyg6x!^CN zurF=b9GV~y)^(&C8|`Es8HRF#2!tN-lm3|;c!r9e!$$$d*V;4eskcgx9y46;MB1xR z_LNioKptpqyzq+ZGi)b>3w{v>ysz|-i{DxPG7OFa8A|P`NJfiLQsa4{N#hkO-$lyG zVVc}BhTIdSm2WYm8@oMXKQlvFL>gC1xQr_dt8Jy_w3Z-Iv2-&KK~Go}-@B7w#=ljh za=-nbb0fjkk@O41t~Yk)=Trbqs)Q_Z#B~d~mBu_Zc9=aEK}0r+rzWxkd8}ejwRr)_ zvp$SpiD7T~@DBz9>723M4`WG&CYl#M)dW4oW{;mAwGSEU%R5Zb(dBHCjs(0M=2V8^Z=RY5kl08P$)J{FA)@Px1}ioRV9FP7x>9-1~y+taUMo zJ|z#Wq{7AoHEkbDt0nSMxRrFgo%q}#Ut3hUCUJ*GagRu3xsLmd{% zka*w&_$b8Ku?Rs`;AJl}=giDGyFY$@`wn0m-6{$U?YFTbmEn%jeC)h8erWXxKjqHz zBpQmiuV3oeH&v7vma}-sRp1;BPlRU~D#=h1kfG^j$%xyL^F#&*%8Ee54;flViLx>h z18L+i6uU}k%dOPPFl=O`Gv_P{ouO2|!+&R;S5deZibyC+MHXW5E|IbDi!?c7*ql#1 z_C_M&{SRY7+>+vvU}z-D$Uq6-)heLDA4w(c4nwiKIUvwe?Tb2!SZUxQmKc^?sYGr8 zr@0wcT%+MVcd{&uYfhU*QKQ6Ykv5?bB! zT}~C0PkETonDt|w#Gcrf*~~MK_#k~EhOPPL?RuUtM#s5*|FC+3&avhFgFW{d!}|OV zIhsV)#<3nB#=eLddhAFLe*94hy59>rC RwfE6}17@h!2IVNw`31|;^;G}> literal 0 HcmV?d00001 diff --git a/NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWordsResponse.class b/NumberConversion/target/classes/fr/insa/soap/wsdltojava/NumberToWordsResponse.class new file mode 100644 index 0000000000000000000000000000000000000000..373439dd36531f6e0026aa3f64817372334c9a1a GIT binary patch literal 1040 zcmb7CU279T6g`vACPo|Erq)`m8g0`QT?F6MK+zV2U?B}r^l6eEH zAN&FSDDm!YFq))(@OM<|o{H z5rutWy85LyzU>G*(#nb=atzfZA8oO-8W;Ps{QJ^m-_y$XZAh8;Q?t^0i5oHw13dC~gypEZ1@84Va}`cPU4Kt>0EL B0eS!c literal 0 HcmV?d00001 diff --git a/NumberConversion/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class b/NumberConversion/target/classes/fr/insa/soap/wsdltojava/ObjectFactory.class new file mode 100644 index 0000000000000000000000000000000000000000..7245640def8071b84bbd79f432827d3760b56db8 GIT binary patch literal 1170 zcma)*-)_?|6vjVyW$nUXWuw40${0{snKlasR|O;l+EoQoK?N?|)C^ClJvr|FycJwc z0*MFUp%BMyGSN1J-1yke`JMBfzo(wR9xp`c`EW<)eY58W* z?@Ie#bR)^I*fODrI>IV{PA-e?i;5W@v~r1QGAxBw3YS(kAB^o0-`HrJTOkoKN^O>K z2?3Fdy*Ys#rLgc_D#hx?BwsCLZst11J9`=r2?#ZJ;6IOu%X;lLtBm6b=y0Y zVYxlfPW5F+#fr@KQfuRcQ}oHa*L=<~Kki4ot8|Zxv#0!HKWfW86+3&<#5%~`^uvH0 z&Ah8=EzxO*BJ;NoPf`9xn*st_1ByTmMcl$g+RcxWC|;ry!(}Yc>I*!kOkbe<1C>vw zSo})+Q4QY$sQ<;6&-f)=o#v~=U!UZ+GWi==p5|AGzd6Z2&E#t|*OdM>;@2nn=NWtf PcZO5m#XX9C&N}c1Z|)(s literal 0 HcmV?d00001 diff --git a/NumberConversion/target/classes/fr/insa/soap/wsdltojava/package-info.class b/NumberConversion/target/classes/fr/insa/soap/wsdltojava/package-info.class new file mode 100644 index 0000000000000000000000000000000000000000..0fc592cfb8a9c83a5b0945f96fe9f7aa23e7741c GIT binary patch literal 353 zcmah_yH3ME5Znt7lkgCvK%$2ZybTppkrGRhA`nC%+Vy#zT)2njJIDDp3O<03LYz|| zI=0x6W@dL*`}O_t2>`cnl0Z+uWm%)Lp3pn0u=RxwZbfUtisU;j_(s{%C9o^tbW3Zp z3w+F1EQ5f-+%>i2OlcNy_ID!f%mOZ+8yl42SLIc%d1S2%6qK`Gz}2ktY;a>V=E@dG zzbd{NJ(o*1bT6Q9$*_;hW5)F|gz65lZQHb + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns the word corresponding to the positive number passed as parameter. Limited to quadrillions. + + + + + Returns the non-zero dollar amount of the passed number. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts. + + + + + + + + \ No newline at end of file diff --git a/NumberConversion/target/cxf-codegen-plugin-markers/.06AC7E89EFA784B989AF93554BD7BC700CCD147E b/NumberConversion/target/cxf-codegen-plugin-markers/.06AC7E89EFA784B989AF93554BD7BC700CCD147E new file mode 100644 index 0000000000000000000000000000000000000000..e8b9ffe235d06a9a1baad62ac81d9434c176566a GIT binary patch literal 133 zcmX|)I}*ZB2mn1w4qzUAT6-_xSP+6E%7ZtM&jGx+CWZCx?4CZizMZ>A6tTpTj;(At z>Fh6D@dreCfTvdm8$}gk0w$G~+;1N5Y)A~(rH&jIx0NHs4KfHSia~Jt62u9673>h{ IFCMS^7tQ@LivR!s literal 0 HcmV?d00001 diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java new file mode 100644 index 0000000..0dc813c --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversion.java @@ -0,0 +1,113 @@ +package fr.insa.soap.wsdltojava; + +import java.net.MalformedURLException; +import java.net.URL; +import javax.xml.namespace.QName; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; +import javax.xml.ws.Service; + +/** + * The Number Conversion Web Service, implemented with Visual DataFlex, provides functions that convert numbers into words or dollar amounts. + * + * This class was generated by Apache CXF 3.4.2 + * 2024-10-08T14:41:29.112+02:00 + * Generated source version: 3.4.2 + * + */ +@WebServiceClient(name = "NumberConversion", + wsdlLocation = "file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl", + targetNamespace = "http://www.dataaccess.com/webservicesserver/") +public class NumberConversion extends Service { + + public final static URL WSDL_LOCATION; + + public final static QName SERVICE = new QName("http://www.dataaccess.com/webservicesserver/", "NumberConversion"); + public final static QName NumberConversionSoap = new QName("http://www.dataaccess.com/webservicesserver/", "NumberConversionSoap"); + public final static QName NumberConversionSoap12 = new QName("http://www.dataaccess.com/webservicesserver/", "NumberConversionSoap12"); + static { + URL url = null; + try { + url = new URL("file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl"); + } catch (MalformedURLException e) { + java.util.logging.Logger.getLogger(NumberConversion.class.getName()) + .log(java.util.logging.Level.INFO, + "Can not initialize the default wsdl from {0}", "file:/home/nbillard/eclipse-workspace/NumberConversion/src/main/resources/wsdl/numberconversion.wsdl"); + } + WSDL_LOCATION = url; + } + + public NumberConversion(URL wsdlLocation) { + super(wsdlLocation, SERVICE); + } + + public NumberConversion(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public NumberConversion() { + super(WSDL_LOCATION, SERVICE); + } + + public NumberConversion(WebServiceFeature ... features) { + super(WSDL_LOCATION, SERVICE, features); + } + + public NumberConversion(URL wsdlLocation, WebServiceFeature ... features) { + super(wsdlLocation, SERVICE, features); + } + + public NumberConversion(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { + super(wsdlLocation, serviceName, features); + } + + + + + /** + * + * @return + * returns NumberConversionSoapType + */ + @WebEndpoint(name = "NumberConversionSoap") + public NumberConversionSoapType getNumberConversionSoap() { + return super.getPort(NumberConversionSoap, NumberConversionSoapType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns NumberConversionSoapType + */ + @WebEndpoint(name = "NumberConversionSoap") + public NumberConversionSoapType getNumberConversionSoap(WebServiceFeature... features) { + return super.getPort(NumberConversionSoap, NumberConversionSoapType.class, features); + } + + + /** + * + * @return + * returns NumberConversionSoapType + */ + @WebEndpoint(name = "NumberConversionSoap12") + public NumberConversionSoapType getNumberConversionSoap12() { + return super.getPort(NumberConversionSoap12, NumberConversionSoapType.class); + } + + /** + * + * @param features + * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. + * @return + * returns NumberConversionSoapType + */ + @WebEndpoint(name = "NumberConversionSoap12") + public NumberConversionSoapType getNumberConversionSoap12(WebServiceFeature... features) { + return super.getPort(NumberConversionSoap12, NumberConversionSoapType.class, features); + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java new file mode 100644 index 0000000..8a03af1 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberConversionSoapType.java @@ -0,0 +1,46 @@ +package fr.insa.soap.wsdltojava; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.xml.bind.annotation.XmlSeeAlso; +import javax.xml.ws.RequestWrapper; +import javax.xml.ws.ResponseWrapper; + +/** + * This class was generated by Apache CXF 3.4.2 + * 2024-10-08T14:41:29.064+02:00 + * Generated source version: 3.4.2 + * + */ +@WebService(targetNamespace = "http://www.dataaccess.com/webservicesserver/", name = "NumberConversionSoapType") +@XmlSeeAlso({ObjectFactory.class}) +public interface NumberConversionSoapType { + + /** + * Returns the word corresponding to the positive number passed as parameter. Limited to quadrillions. + */ + @WebMethod(operationName = "NumberToWords") + @RequestWrapper(localName = "NumberToWords", targetNamespace = "http://www.dataaccess.com/webservicesserver/", className = "fr.insa.soap.wsdltojava.NumberToWords") + @ResponseWrapper(localName = "NumberToWordsResponse", targetNamespace = "http://www.dataaccess.com/webservicesserver/", className = "fr.insa.soap.wsdltojava.NumberToWordsResponse") + @WebResult(name = "NumberToWordsResult", targetNamespace = "http://www.dataaccess.com/webservicesserver/") + public java.lang.String numberToWords( + + @WebParam(name = "ubiNum", targetNamespace = "http://www.dataaccess.com/webservicesserver/") + java.math.BigInteger ubiNum + ); + + /** + * Returns the non-zero dollar amount of the passed number. + */ + @WebMethod(operationName = "NumberToDollars") + @RequestWrapper(localName = "NumberToDollars", targetNamespace = "http://www.dataaccess.com/webservicesserver/", className = "fr.insa.soap.wsdltojava.NumberToDollars") + @ResponseWrapper(localName = "NumberToDollarsResponse", targetNamespace = "http://www.dataaccess.com/webservicesserver/", className = "fr.insa.soap.wsdltojava.NumberToDollarsResponse") + @WebResult(name = "NumberToDollarsResult", targetNamespace = "http://www.dataaccess.com/webservicesserver/") + public java.lang.String numberToDollars( + + @WebParam(name = "dNum", targetNamespace = "http://www.dataaccess.com/webservicesserver/") + java.math.BigDecimal dNum + ); +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java new file mode 100644 index 0000000..3a7f305 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollars.java @@ -0,0 +1,65 @@ + +package fr.insa.soap.wsdltojava; + +import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour anonymous complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="dNum" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "dNum" +}) +@XmlRootElement(name = "NumberToDollars") +public class NumberToDollars { + + @XmlElement(required = true) + protected BigDecimal dNum; + + /** + * Obtient la valeur de la propriété dNum. + * + * @return + * possible object is + * {@link BigDecimal } + * + */ + public BigDecimal getDNum() { + return dNum; + } + + /** + * Définit la valeur de la propriété dNum. + * + * @param value + * allowed object is + * {@link BigDecimal } + * + */ + public void setDNum(BigDecimal value) { + this.dNum = value; + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java new file mode 100644 index 0000000..1d5b8d7 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToDollarsResponse.java @@ -0,0 +1,64 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour anonymous complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="NumberToDollarsResult" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "numberToDollarsResult" +}) +@XmlRootElement(name = "NumberToDollarsResponse") +public class NumberToDollarsResponse { + + @XmlElement(name = "NumberToDollarsResult", required = true) + protected String numberToDollarsResult; + + /** + * Obtient la valeur de la propriété numberToDollarsResult. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNumberToDollarsResult() { + return numberToDollarsResult; + } + + /** + * Définit la valeur de la propriété numberToDollarsResult. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNumberToDollarsResult(String value) { + this.numberToDollarsResult = value; + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java new file mode 100644 index 0000000..07b7685 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWords.java @@ -0,0 +1,67 @@ + +package fr.insa.soap.wsdltojava; + +import java.math.BigInteger; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlSchemaType; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour anonymous complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="ubiNum" type="{http://www.w3.org/2001/XMLSchema}unsignedLong"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "ubiNum" +}) +@XmlRootElement(name = "NumberToWords") +public class NumberToWords { + + @XmlElement(required = true) + @XmlSchemaType(name = "unsignedLong") + protected BigInteger ubiNum; + + /** + * Obtient la valeur de la propriété ubiNum. + * + * @return + * possible object is + * {@link BigInteger } + * + */ + public BigInteger getUbiNum() { + return ubiNum; + } + + /** + * Définit la valeur de la propriété ubiNum. + * + * @param value + * allowed object is + * {@link BigInteger } + * + */ + public void setUbiNum(BigInteger value) { + this.ubiNum = value; + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java new file mode 100644 index 0000000..26bf8ce --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/NumberToWordsResponse.java @@ -0,0 +1,64 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * <p>Classe Java pour anonymous complex type. + * + * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. + * + * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element name="NumberToWordsResult" type="{http://www.w3.org/2001/XMLSchema}string"/&gt; + * &lt;/sequence&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "numberToWordsResult" +}) +@XmlRootElement(name = "NumberToWordsResponse") +public class NumberToWordsResponse { + + @XmlElement(name = "NumberToWordsResult", required = true) + protected String numberToWordsResult; + + /** + * Obtient la valeur de la propriété numberToWordsResult. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNumberToWordsResult() { + return numberToWordsResult; + } + + /** + * Définit la valeur de la propriété numberToWordsResult. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNumberToWordsResult(String value) { + this.numberToWordsResult = value; + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java new file mode 100644 index 0000000..2b28145 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/ObjectFactory.java @@ -0,0 +1,64 @@ + +package fr.insa.soap.wsdltojava; + +import javax.xml.bind.annotation.XmlRegistry; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the fr.insa.soap.wsdltojava package. + * <p>An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: fr.insa.soap.wsdltojava + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link NumberToWords } + * + */ + public NumberToWords createNumberToWords() { + return new NumberToWords(); + } + + /** + * Create an instance of {@link NumberToWordsResponse } + * + */ + public NumberToWordsResponse createNumberToWordsResponse() { + return new NumberToWordsResponse(); + } + + /** + * Create an instance of {@link NumberToDollars } + * + */ + public NumberToDollars createNumberToDollars() { + return new NumberToDollars(); + } + + /** + * Create an instance of {@link NumberToDollarsResponse } + * + */ + public NumberToDollarsResponse createNumberToDollarsResponse() { + return new NumberToDollarsResponse(); + } + +} diff --git a/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java new file mode 100644 index 0000000..b123579 --- /dev/null +++ b/NumberConversion/target/generated-sources/cxf/fr/insa/soap/wsdltojava/package-info.java @@ -0,0 +1,2 @@ +@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.dataaccess.com/webservicesserver/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package fr.insa.soap.wsdltojava; diff --git a/RestProject/.classpath b/RestProject/.classpath new file mode 100644 index 0000000..3122b27 --- /dev/null +++ b/RestProject/.classpath @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/RestProject/.project b/RestProject/.project new file mode 100644 index 0000000..26f0a60 --- /dev/null +++ b/RestProject/.project @@ -0,0 +1,37 @@ + + + RestProject + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/RestProject/.settings/.jsdtscope b/RestProject/.settings/.jsdtscope new file mode 100644 index 0000000..e4a0c2d --- /dev/null +++ b/RestProject/.settings/.jsdtscope @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/RestProject/.settings/org.eclipse.core.resources.prefs b/RestProject/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..abdea9a --- /dev/null +++ b/RestProject/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding/=UTF-8 diff --git a/RestProject/.settings/org.eclipse.jdt.core.prefs b/RestProject/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..532e4e5 --- /dev/null +++ b/RestProject/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,10 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/RestProject/.settings/org.eclipse.m2e.core.prefs b/RestProject/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/RestProject/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/RestProject/.settings/org.eclipse.wst.common.component b/RestProject/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..1ed78bd --- /dev/null +++ b/RestProject/.settings/org.eclipse.wst.common.component @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/RestProject/.settings/org.eclipse.wst.common.project.facet.core.xml b/RestProject/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..9d34ed1 --- /dev/null +++ b/RestProject/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container b/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name b/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/RestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/RestProject/.settings/org.eclipse.wst.validation.prefs b/RestProject/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..04cad8c --- /dev/null +++ b/RestProject/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=06target +eclipse.preferences.version=1 diff --git a/RestProject/pom.xml b/RestProject/pom.xml new file mode 100644 index 0000000..815da57 --- /dev/null +++ b/RestProject/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + fr.insa.rest + RestProject + war + 0.0.1-SNAPSHOT + RestProject + + + RestProject + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + true + + 17 + 17 + + + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + + + + + + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + + + + + org.glassfish.jersey.containers + jersey-container-servlet-core + + + + + org.glassfish.jersey.inject + jersey-hk2 + + + + org.glassfish.jersey.media + jersey-media-json-binding + + + + org.glassfish.jersey.archetypes + jersey-quickstart-webapp + 4.0.0-M1 + + + jakarta.servlet + jakarta.servlet-api + 5.0.0 + provided + + + + + + + + + 4.0.0-M1 + UTF-8 + 3.4.0 + + diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/Binome.java b/RestProject/src/main/java/fr/insa/rest/RestProject/Binome.java new file mode 100644 index 0000000..f213e59 --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/Binome.java @@ -0,0 +1,18 @@ +package fr.insa.rest.RestProject; + +public class Binome { + private String nom; + private String prenom; + public String getPrenom() { + return prenom; + } + public void setPrenom(String prenom) { + this.prenom = prenom; + } + public String getNom() { + return nom; + } + public void setNom(String nom) { + this.nom = nom; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/Comparator.java b/RestProject/src/main/java/fr/insa/rest/RestProject/Comparator.java new file mode 100644 index 0000000..6643850 --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/Comparator.java @@ -0,0 +1,41 @@ +package fr.insa.rest.RestProject; + +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.PUT; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.PathParam; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.QueryParam; +import jakarta.ws.rs.core.MediaType; + +@Path("comparator") +public class Comparator { + @GET + @Produces(MediaType.TEXT_PLAIN) + public String sayHello() { + return "Bonjour"; + } + + @GET + @Path("longeur/{chaine}") + @Produces(MediaType.TEXT_PLAIN) + public int getLongeur(@PathParam("chaine") String chaine) { + return chaine.length(); + } + + @GET + @Path("longeurDouble") + @Produces(MediaType.TEXT_PLAIN) + public int getLongeurDouble(@QueryParam("chaine") String chaine) { + return chaine.length() * 2; + } + + @PUT + @Path("/{idEtudiant}") + @Consumes(MediaType.TEXT_PLAIN) + public int updateEtudiant(@PathParam("idEtudiant") int id) { + System.out.println("mise à jour réussie!"); + return id; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/Etudiant.java b/RestProject/src/main/java/fr/insa/rest/RestProject/Etudiant.java new file mode 100644 index 0000000..9f3d6e2 --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/Etudiant.java @@ -0,0 +1,55 @@ +package fr.insa.rest.RestProject; + +import java.util.ArrayList; + +public class Etudiant { + private int id; + private String nom; + private String prenom; + + private Binome binome; + + private Stage stage; + private ArrayList links = new ArrayList(); + + public int getId() { + return id; + } + public void setId(int id) { + this.id = id; + } + public ArrayList getLinks() { + return links; + } + public Stage getStage() { + return stage; + } + public void setStage(Stage stage) { + this.stage = stage; + } + public String getNom() { + return nom; + } + public void setNom(String nom) { + this.nom = nom; + } + public String getPrenom() { + return prenom; + } + public void setPrenom(String prenom) { + this.prenom = prenom; + } + public Binome getBinome() { + return binome; + } + public void setBinome(Binome binome) { + this.binome = binome; + } + public void addLink(String uri, String rel, String methode) { + Link newLink = new Link(); + newLink.setUri(uri); + newLink.setRel(rel); + newLink.setMethode(methode); + links.add(newLink); + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/EtudiantRessource.java b/RestProject/src/main/java/fr/insa/rest/RestProject/EtudiantRessource.java new file mode 100644 index 0000000..98d75ff --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/EtudiantRessource.java @@ -0,0 +1,48 @@ +package fr.insa.rest.RestProject; + +import jakarta.ws.rs.Consumes; +import jakarta.ws.rs.GET; +import jakarta.ws.rs.POST; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.Context; +import jakarta.ws.rs.core.MediaType; +import jakarta.ws.rs.core.UriInfo; + +@Path("etudiant") +public class EtudiantRessource { + @GET + @Produces(MediaType.APPLICATION_JSON) + public Etudiant getEtudiant(@Context UriInfo uriInfo) { + Etudiant etudiant = new Etudiant(); + etudiant.setNom("N"); + etudiant.setPrenom("G"); + etudiant.addLink(getUriforSelf(uriInfo, etudiant), "self", "GET"); + etudiant.addLink(getUriforStage(uriInfo), "Stage", "GET"); + return etudiant; + } + + @POST + @Path("/{idEtudiant}") + @Consumes(MediaType.APPLICATION_JSON) + public void addEtudiant(Etudiant etudNouv) { + System.out.println("Ajout de l'étudiant " + etudNouv.getNom() + " " + etudNouv.getPrenom() + " réussie !"); + System.out.println("Son binome est " + etudNouv.getBinome().getPrenom() + " " + etudNouv.getBinome().getNom()); + } + + private String getUriforStage(UriInfo uriInfo) { + String url = uriInfo.getBaseUriBuilder() + .path(StageRessource.class) + .build(null) + .toString(); + return url; + } + private String getUriforSelf(UriInfo uriInfo, Etudiant etudiant) { + String url = uriInfo.getBaseUriBuilder() + .path(EtudiantRessource.class) + .path(Long.toString(etudiant.getId())) + .build(null) + .toString(); + return url; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/Link.java b/RestProject/src/main/java/fr/insa/rest/RestProject/Link.java new file mode 100644 index 0000000..8b84b2c --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/Link.java @@ -0,0 +1,26 @@ +package fr.insa.rest.RestProject; + +public class Link { + private String uri; + private String rel; + private String methode; + + public String getUri() { + return uri; + } + public void setUri(String uri) { + this.uri = uri; + } + public String getRel() { + return rel; + } + public void setRel(String rel) { + this.rel = rel; + } + public String getMethode() { + return methode; + } + public void setMethode(String methode) { + this.methode = methode; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/MyResource.java b/RestProject/src/main/java/fr/insa/rest/RestProject/MyResource.java new file mode 100644 index 0000000..1bab31e --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/MyResource.java @@ -0,0 +1,25 @@ +package fr.insa.rest.RestProject; + +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; + +/** + * Root resource (exposed at "myresource" path) + */ +@Path("myresource") +public class MyResource { + + /** + * Method handling HTTP GET requests. The returned object will be sent + * to the client as "text/plain" media type. + * + * @return String that will be returned as a text/plain response. + */ + @GET + @Produces(MediaType.TEXT_PLAIN) + public String getIt() { + return "Got it!"; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/Stage.java b/RestProject/src/main/java/fr/insa/rest/RestProject/Stage.java new file mode 100644 index 0000000..2947bd6 --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/Stage.java @@ -0,0 +1,26 @@ +package fr.insa.rest.RestProject; + +public class Stage { + private int evaluation; + private String competences; + private int annee; + + public int getEvaluation() { + return evaluation; + } + public void setEvaluation(int evaluation) { + this.evaluation = evaluation; + } + public String getCompetences() { + return competences; + } + public void setCompetences(String competences) { + this.competences = competences; + } + public int getAnnee() { + return annee; + } + public void setAnnee(int annee) { + this.annee = annee; + } +} diff --git a/RestProject/src/main/java/fr/insa/rest/RestProject/StageRessource.java b/RestProject/src/main/java/fr/insa/rest/RestProject/StageRessource.java new file mode 100644 index 0000000..a1c5708 --- /dev/null +++ b/RestProject/src/main/java/fr/insa/rest/RestProject/StageRessource.java @@ -0,0 +1,20 @@ +package fr.insa.rest.RestProject; + +import jakarta.ws.rs.GET; +import jakarta.ws.rs.Path; +import jakarta.ws.rs.Produces; +import jakarta.ws.rs.core.MediaType; + +@Path("stage") +public class StageRessource { + + @GET + @Produces(MediaType.APPLICATION_JSON) + public Stage getStage(int idEtudiant) { + Stage stage = new Stage(); + stage.setEvaluation(16);; + stage.setCompetences("SOA, Rest"); + stage.setAnnee(2024); + return stage; + } +} diff --git a/RestProject/src/main/webapp/WEB-INF/web.xml b/RestProject/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000..01940ae --- /dev/null +++ b/RestProject/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,18 @@ + + + + + Jersey Web Application + org.glassfish.jersey.servlet.ServletContainer + + jersey.config.server.provider.packages + fr.insa.rest.RestProject + + 1 + + + Jersey Web Application + /webapi/* + + diff --git a/RestProject/src/main/webapp/index.jsp b/RestProject/src/main/webapp/index.jsp new file mode 100644 index 0000000..bfead03 --- /dev/null +++ b/RestProject/src/main/webapp/index.jsp @@ -0,0 +1,10 @@ + + +

Jersey RESTful Web Application!

+

Jersey resource

+

Comparator

+

Etudiant

+

Visit Project Jersey website

+ for more information on Jersey! + + diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/Binome.class b/RestProject/target/classes/fr/insa/rest/RestProject/Binome.class new file mode 100644 index 0000000000000000000000000000000000000000..996216e17c6efcfeda6ff869ef6926e7fbaca6e3 GIT binary patch literal 728 zcmaiw+fKqj5QhJy&`K$CMm)uE2bkCgP`S{=D}qK0_XSs60xj7VpGy;si5EVA4`rNP zNQh8lHksWy{4?Lq*Z0RKfO8yLNH82dNLTow=Sm(%?k$-c8I1Wbaxa7*Ou2<5Lw@W% zdG5sXNAC4NB^eA#G88+jOfQncADuFoGs$(L)n1^lZwMt zaiy_YtC&q{*bSyiw(B6JWG2Zd#9;S=xg7EQda+Y&5EM z{D#tMv`ukP`xG*|Lsk3ca=b!Q|4`IBu^_c|kZdf-UOY%`9VAa6g+D;lVim}~{`$cW D1juma literal 0 HcmV?d00001 diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/Comparator.class b/RestProject/target/classes/fr/insa/rest/RestProject/Comparator.class new file mode 100644 index 0000000000000000000000000000000000000000..91e4a5fb4c1cda1b5475dff800e8249043a520f6 GIT binary patch literal 1495 zcma)6OH&g;5dMbOh9%(<9`X~^_+d~bLII4nix9w_yM4@K`zXSfLzT7 z+zv^)sl-QR?b}?sG4wGQE1tXOg+6)mLS;NRFSOB{KC5VIout+?a8)4mPP>?B9c2rI zEIu)e)vDj188|`-zov|VbKs&#!fYu*nHa&SfmF@tiam;B4C54N3pcL{(fmka@~m>o ztrYjv3!@<>N}5mY!8$FkL*XBuifIq`b6klv73L&&>C!Z%*L6SY=dkfc&mmzQ$=qoy z^`d?*t2D#ViRNNf0$X9>rhyx^l^zC4IC0#pXF?3X3*qlZuceecIFba}Q4;A#5=oX@dR)Z{ycBW6Ke4>r;6T!1?Y)DXDLeOHzs?((N+!FRR!5thP;G+Ql}w@XxESf z1kfE|kT@#XL*$5S=*va#aKtuGMgw`8XO3~@D}7Y+^+$Yt#efo@?!hpwQX2gxE@GZI zpLw#Hd4XUxv!R)r3-#P1Roq6I+bDCVF;!LdGy#>Wp22lZQ|f4a)w5C6D_+V0SHSt4FCWD literal 0 HcmV?d00001 diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/Etudiant.class b/RestProject/target/classes/fr/insa/rest/RestProject/Etudiant.class new file mode 100644 index 0000000000000000000000000000000000000000..36c92b2088a7f15034aa55f4b4d9cb1e55097ed7 GIT binary patch literal 2295 zcma)6?Q+{x5Iu5ayEbYQ^5Nj5Av9@%KiY`2A+&WGNJKew}?umxU#?Ykc zdyd<#X~_KG+3GcOX6c8qkC+14lU1-@9Wdmtsq=v!0UaAY{3pA5_h&x*<#}$HDx8h&^Pl*Iy^+dxGQ4)I` z^i7CfGhpB%nUQGdxm@}$M@c2aPc6O%TRLyeZxQ&7idXnWjRwC6{kSu2(_;i zDsCSc$cbByZozF}5$KYoeN$qgcm-$6Kpt-eI0N6SZ%8e46+&67)si-8xE(`zG>Orh z@?jRc8Ws{eAnVvBTyCYX$8feH>o`rd6`_Gj8XR&AC z5%wuPlI8@SCmj4EYUOYF+V>o;p50-3CxJIluKiPx=wfou#elNRH@kiB*nZ&1#9SO` ze@!M1S6J^c{?0N;iSBtyN$=IpW~!adP&?(OcFrQbCe-&sj(sd#DV^c-i*1>PBf58lNhzxd-)yadnWm*AxSm)PO(+`FR}_39ZuE$Y|K@L5s6 zeughN40A>O3=f|UW6i1QUFR?O2IuM~W>}_qR(b`SD)vTz`dZ|x_(~Olk#NA149Y5+ TJdF`!0gv&7GpgZGY5eIcF9M(F literal 0 HcmV?d00001 diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/EtudiantRessource.class b/RestProject/target/classes/fr/insa/rest/RestProject/EtudiantRessource.class new file mode 100644 index 0000000000000000000000000000000000000000..2997fc632e6dda718cc5af98f8a438d7ac53c304 GIT binary patch literal 3182 zcma)8XIOIxPxQ|382cS>p~71%XrE}BNhv}cTwNu?)He#Wvb|D3>% z_KpdG(tal`E3pF=I?7NkuyfF|Jg}#k^VALf!_APIdk50ebcz%8LnqcIj%IWxYmF@?euhP?V29hzI9S&FrAx{9v_u0nwcC=yvtlz$XHW>A7jpQY=M@waYjwo z%t~LnYXTlz=Q=n~zhnFIrr)DspFs1L>8iwDRK##VKn$zWzY0Zd|$Ef+FSplCgp`6&>SQPT;uZX;2oKM%f2|0C_&Fj75Q#{?9% z$>>N*5qX2y^k*rqHf~ufQQqCickyfb?rrxt27673@ObDYKEMQbF7W%7{yBhd$Z=e zBrbN`Rm-1M2z|~nw(zNK5u|9)6s~9(=M)IKWi5Ig6RJbB1$Cf|tq{Jf;~HKG5%yVZ z8uF->$9ZhShDyxCs~FVqn!uqgRF&qXIC(n~QD@l6EmmO?X$?~X4Qq>BI16=1uvK?6 zd3~lQ$-usxl}SsN10~3KAv=~0BNfh_S%IUE#TJl$<*iYPIb<}jH5-e=iM;B_f>W_{ zft+I_7FMZ0V|pH^_ontt+Z+~jyak@2Y*L*@rTcn8tA{VFz!9gNEq&w4*Z}Q(ENaLJ z=s{g0xsDr(UNPSZCnC9E|^ok<1VRA`%2(mA;d^Kba=_M(;4Zt z4LZ(zZlPym-U=jZ49AxiWD)hpmooSqiCpxXnM}&^WzWuXd=|sEBth>Sr%oa*6Pcrr z?neVQA^3A2-OqWRB@@jte9zLR96K=?bZUYhLP~|C7_e>W1{9Q@hMxouZ^%xu^J@4- zplNee&bcr-Xl4`d;QRtVnMfj(^Qv)Ya1~10`2exsc~gQ)Ue#lu8dbdNp#s-x?#MOl zq^n)Lk5hYhuySTyhwxB`dhRvlbC0^={|-un$S3~B-fIuAe<&Gm$m3u#p2(vm+1ZuM z<8Ztq-jzo;cX^zMKNW6%qj89)fq1}3F-ELGEu++-g^>&fQ3w-ZfCwRQ0?*(SA;i#u z(|DF%1bT3Wt3rK%+Gn|*qqNq;b9i3eMDP`2iwY%NyZ=Bh0bS((#fKOM@)!$6SM#_| zDVNtD;*H?JYVK+RG>ydBgd`3H2={~zR}gmNP2v)i@^gTz3OmD{Dp7scUts&hXY#N_ z9!?(KP;z}TT9}enx^81J4l^w+40og;8TBin>Z4@T()~>=@miujtD>N{8M2f?6H!nG zv{;e1@BWGR^0*VlAMRd_-xPrDVEj(T>tYF#Xh1g_nd~MU3ovwsK36a#A`FZZ6{IOb sqoRMz_$BxxC{7h|MTI$yPx+vRkG`hxo8bB#exOW!N&SeQaS!|d2fl1R#{d8T literal 0 HcmV?d00001 diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/Link.class b/RestProject/target/classes/fr/insa/rest/RestProject/Link.class new file mode 100644 index 0000000000000000000000000000000000000000..d5bfae5dd0dcd7868bdf6006cc2adcfd756cee12 GIT binary patch literal 904 zcmaKp+fKqj5QhJyK&4hu1QiuguTT^F03L2kyuw33xi7fFVlBy1d@fBiCSLdeK9q5$ z)DUa&W@qQ{&wM-k`Stz*;21k5QUaAb?I?ffI$90`r$NV+9`t1=aO%pxH<1=t=(~@u zX%=LCSHE xd?LttGDtZNQlN25Q$TpJ46>03Qi+3<5<#lTAeA`CDuI-zfbh>U$X56V+u!$rd-nhU literal 0 HcmV?d00001 diff --git a/RestProject/target/classes/fr/insa/rest/RestProject/MyResource.class b/RestProject/target/classes/fr/insa/rest/RestProject/MyResource.class new file mode 100644 index 0000000000000000000000000000000000000000..61bd3d4f16e4586d6cafcf8d87bd37b288861ae7 GIT binary patch literal 583 zcma)3%T7Wu5IyA~h$spuq8o`Z5fkkP_(+UVVuFu=VdJVm#p0#cw7n{Sr7IH`et;ik zoZFCKT)DV2Jv}pLrssZre|!Qs#Ciq^hRr*}m9~N#X&rA-xHjQX_8h+$6AB~KlNqEK z7Kh?V@IdGRzv{*X3^NBxD|f_@+^%;RQYT?w=8(i}9%;-l6q-uQ%V^Y<=0(B|O zLQNw|)bJpT6a3k7V|nBBhB{XN+>!zPs3&ba>q!I=?VWS-#qq~LD4oR$L#7eB4drUY zw7o@VDt=yJ>e*hr8ZG%(Tey4D&5g$7x9>y^WFY+!AVDWGj$(!or_3m)cixeG^K_14 zOapn$`REG>%@bl+K!HRS>0G3|Q=W(Fsf?E59U@6UhWBzG~Hr M&QWufzLLe-4?sSEeESAYL|{__{WE;b6t2(0~zd~F8OkJP~WXSAF~;iU?!-?6f% z3djn~T*@2i_oeCiCtZFMaMg|M52e+i5fCkbsUW<%R#urn4Fsy~S4qc4+Vpk=a?%*3 z1oA($(RNS3X>MK!WDmlh%7uez4=$zzDs64l@$jmvqI22plcL%V1KGcjk>>O0GHZWp zYSn0eJOMQ>_mn++!%KZzB?!!W$RSVfgYoxlv&CT3Bs+LJ)m(FPaxN~k;-P>dDX7qx zqSl-gaOonI-e)&hz3!pJ7)4UYmt=1z97cgU(mcHz|HOB86zi1l(DymWFgxus+&Yd_ zgkpg*$VOT{I{6d@#oX2t%J*?vh1Pt0>0pNT-b(^Lp-Lx#S`d{s^rj@5 z_y9hMPhtFK!3((%FZP_B^YfkW{QUU!^*ewUXrz%4sD6xm9T@3H%2@xD;$0MuRNwj? zD~E~(6V9T(N+T(dAIVGUk7Y3QPkJs$VDY&Qw0$YCP^)(Zl1Je{WwC%v4k;`OthRNa z-p(dH6`jf6SP2x`VPB5BGScpSV@%p}Z3OD=|D@9t@P^9990m4k$9H8iVe@nrSUpi) zZ8R$%20>`0)nUNG#r8;E$jD0nlkp?tziyo|W8;>UqZ!Ql%Fva%l;at@$;;_xHnY#|4UgnG4W0fFz{uij%Vofq1APh<|=mqVr*!DM+-(TV0n?^oA$3~;@V2+)} zTKeZ44;!Bukbo<;PCg*4N8l9#mk7E=a96x?4RlkSka&zIB;j$kRn&-(Ks`n}h$$`6 K_mp4Jp!yr6n#zg* literal 0 HcmV?d00001 diff --git a/RestProject/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF b/RestProject/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF new file mode 100644 index 0000000..3cbb63e --- /dev/null +++ b/RestProject/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF @@ -0,0 +1,4 @@ +Manifest-Version: 1.0 +Build-Jdk-Spec: 22 +Created-By: Maven Integration for Eclipse + diff --git a/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.properties b/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.properties new file mode 100644 index 0000000..e367448 --- /dev/null +++ b/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Wed Nov 06 09:23:58 CET 2024 +artifactId=RestProject +groupId=fr.insa.rest +m2e.projectLocation=/home/nbillard/eclipse-workspace/RestProject +m2e.projectName=RestProject +version=0.0.1-SNAPSHOT diff --git a/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.xml b/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.xml new file mode 100644 index 0000000..815da57 --- /dev/null +++ b/RestProject/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/RestProject/pom.xml @@ -0,0 +1,92 @@ + + + 4.0.0 + + fr.insa.rest + RestProject + war + 0.0.1-SNAPSHOT + RestProject + + + RestProject + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + true + + 17 + 17 + + + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + + + + + + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + + + + + org.glassfish.jersey.containers + jersey-container-servlet-core + + + + + org.glassfish.jersey.inject + jersey-hk2 + + + + org.glassfish.jersey.media + jersey-media-json-binding + + + + org.glassfish.jersey.archetypes + jersey-quickstart-webapp + 4.0.0-M1 + + + jakarta.servlet + jakarta.servlet-api + 5.0.0 + provided + + + + + + + + + 4.0.0-M1 + UTF-8 + 3.4.0 + + diff --git a/Servers/.project b/Servers/.project new file mode 100644 index 0000000..0fa764d --- /dev/null +++ b/Servers/.project @@ -0,0 +1,11 @@ + + + Servers + + + + + + + + diff --git a/Servers/.settings/org.eclipse.core.resources.prefs b/Servers/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..99f26c0 --- /dev/null +++ b/Servers/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/Servers/.settings/org.eclipse.wst.server.core.prefs b/Servers/.settings/org.eclipse.wst.server.core.prefs new file mode 100644 index 0000000..484f7b0 --- /dev/null +++ b/Servers/.settings/org.eclipse.wst.server.core.prefs @@ -0,0 +1,3 @@ +#Tue Oct 08 15:03:23 CEST 2024 +eclipse.preferences.version=1 +org.eclipse.wst.server.core.isServerProject=true diff --git a/Servers/Tomcat v10.1 Server at localhost-config/catalina.policy b/Servers/Tomcat v10.1 Server at localhost-config/catalina.policy new file mode 100644 index 0000000..5eb4118 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/catalina.policy @@ -0,0 +1,263 @@ +// Licensed to the Apache Software Foundation (ASF) under one or more +// contributor license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright ownership. +// The ASF licenses this file to You under the Apache License, Version 2.0 +// (the "License"); you may not use this file except in compliance with +// the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// ============================================================================ +// catalina.policy - Security Policy Permissions for Tomcat +// +// This file contains a default set of security policies to be enforced (by the +// JVM) when Catalina is executed with the "-security" option. In addition +// to the permissions granted here, the following additional permissions are +// granted to each web application: +// +// * Read access to the web application's document root directory +// * Read, write and delete access to the web application's working directory +// ============================================================================ + + +// ========== SYSTEM CODE PERMISSIONS ========================================= + + +// These permissions apply to javac +grant codeBase "file:${java.home}/lib/-" { + permission java.security.AllPermission; +}; + +// These permissions apply to all shared system extensions +grant codeBase "file:${java.home}/jre/lib/ext/-" { + permission java.security.AllPermission; +}; + +// These permissions apply to javac when ${java.home} points at $JAVA_HOME/jre +grant codeBase "file:${java.home}/../lib/-" { + permission java.security.AllPermission; +}; + +// These permissions apply to all shared system extensions when +// ${java.home} points at $JAVA_HOME/jre +grant codeBase "file:${java.home}/lib/ext/-" { + permission java.security.AllPermission; +}; + +// This permission is required when using javac to compile JSPs +grant codeBase "jrt:/jdk.compiler" { + permission java.security.AllPermission; +}; + + +// ========== CATALINA CODE PERMISSIONS ======================================= + +// These permissions apply to the daemon code +grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" { + permission java.security.AllPermission; +}; + +// These permissions apply to the logging API +// Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home}, +// update this section accordingly. +// grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..} +grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" { + permission java.io.FilePermission + "${java.home}${file.separator}lib${file.separator}logging.properties", "read"; + + permission java.io.FilePermission + "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read"; + permission java.io.FilePermission + "${catalina.base}${file.separator}logs", "read, write"; + permission java.io.FilePermission + "${catalina.base}${file.separator}logs${file.separator}*", "read, write, delete"; + + permission java.lang.RuntimePermission "shutdownHooks"; + permission java.lang.RuntimePermission "getClassLoader"; + permission java.lang.RuntimePermission "setContextClassLoader"; + + permission java.lang.management.ManagementPermission "monitor"; + + permission java.util.logging.LoggingPermission "control"; + + permission java.util.PropertyPermission "java.util.logging.config.class", "read"; + permission java.util.PropertyPermission "java.util.logging.config.file", "read"; + permission java.util.PropertyPermission "org.apache.juli.AsyncMaxRecordCount", "read"; + permission java.util.PropertyPermission "org.apache.juli.AsyncOverflowDropType", "read"; + permission java.util.PropertyPermission "org.apache.juli.ClassLoaderLogManager.debug", "read"; + permission java.util.PropertyPermission "catalina.base", "read"; + + // Note: To enable per context logging configuration, permit read access to + // the appropriate file. Be sure that the logging configuration is + // secure before enabling such access. + // E.g. for the examples web application (uncomment and unwrap + // the following to be on a single line): + // permission java.io.FilePermission "${catalina.base}${file.separator} + // webapps${file.separator}examples${file.separator}WEB-INF + // ${file.separator}classes${file.separator}logging.properties", "read"; +}; + +// These permissions apply to the server startup code +grant codeBase "file:${catalina.home}/bin/bootstrap.jar" { + permission java.security.AllPermission; +}; + +// These permissions apply to the servlet API classes +// and those that are shared across all class loaders +// located in the "lib" directory +grant codeBase "file:${catalina.home}/lib/-" { + permission java.security.AllPermission; +}; + + +// If using a per instance lib directory, i.e. ${catalina.base}/lib, +// then the following permission will need to be uncommented +// grant codeBase "file:${catalina.base}/lib/-" { +// permission java.security.AllPermission; +// }; + + +// ========== WEB APPLICATION PERMISSIONS ===================================== + + +// These permissions are granted by default to all web applications +// In addition, a web application will be given a read FilePermission +// for all files and directories in its document root. +grant { + // Required for JNDI lookup of named JDBC DataSource's and + // javamail named MimePart DataSource used to send mail + permission java.util.PropertyPermission "java.home", "read"; + permission java.util.PropertyPermission "java.naming.*", "read"; + permission java.util.PropertyPermission "javax.sql.*", "read"; + + // OS Specific properties to allow read access + permission java.util.PropertyPermission "os.name", "read"; + permission java.util.PropertyPermission "os.version", "read"; + permission java.util.PropertyPermission "os.arch", "read"; + permission java.util.PropertyPermission "file.separator", "read"; + permission java.util.PropertyPermission "path.separator", "read"; + permission java.util.PropertyPermission "line.separator", "read"; + + // JVM properties to allow read access + permission java.util.PropertyPermission "java.version", "read"; + permission java.util.PropertyPermission "java.vendor", "read"; + permission java.util.PropertyPermission "java.vendor.url", "read"; + permission java.util.PropertyPermission "java.class.version", "read"; + permission java.util.PropertyPermission "java.specification.version", "read"; + permission java.util.PropertyPermission "java.specification.vendor", "read"; + permission java.util.PropertyPermission "java.specification.name", "read"; + + permission java.util.PropertyPermission "java.vm.specification.version", "read"; + permission java.util.PropertyPermission "java.vm.specification.vendor", "read"; + permission java.util.PropertyPermission "java.vm.specification.name", "read"; + permission java.util.PropertyPermission "java.vm.version", "read"; + permission java.util.PropertyPermission "java.vm.vendor", "read"; + permission java.util.PropertyPermission "java.vm.name", "read"; + + // Required for OpenJMX + permission java.lang.RuntimePermission "getAttribute"; + + // Allow read of JAXP compliant XML parser debug + permission java.util.PropertyPermission "jaxp.debug", "read"; + + // All JSPs need to be able to read this package + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat"; + + // Precompiled JSPs need access to these packages. + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.el"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.jasper.runtime"; + permission java.lang.RuntimePermission + "accessClassInPackage.org.apache.jasper.runtime.*"; + + // Applications using WebSocket need to be able to access these packages + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.tomcat.websocket.server"; +}; + + +// The Manager application needs access to the following packages to support the +// session display functionality. It also requires the custom Tomcat +// DeployXmlPermission to enable the use of META-INF/context.xml +// These settings support the following configurations: +// - default CATALINA_HOME == CATALINA_BASE +// - CATALINA_HOME != CATALINA_BASE, per instance Manager in CATALINA_BASE +// - CATALINA_HOME != CATALINA_BASE, shared Manager in CATALINA_HOME +grant codeBase "file:${catalina.base}/webapps/manager/-" { + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.ha.session"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.util"; + permission org.apache.catalina.security.DeployXmlPermission "manager"; +}; +grant codeBase "file:${catalina.home}/webapps/manager/-" { + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.ha.session"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.manager.util"; + permission java.lang.RuntimePermission "accessClassInPackage.org.apache.catalina.util"; + permission org.apache.catalina.security.DeployXmlPermission "manager"; +}; + +// The Host Manager application needs the custom Tomcat DeployXmlPermission to +// enable the use of META-INF/context.xml +// These settings support the following configurations: +// - default CATALINA_HOME == CATALINA_BASE +// - CATALINA_HOME != CATALINA_BASE, per instance Host Manager in CATALINA_BASE +// - CATALINA_HOME != CATALINA_BASE, shared Host Manager in CATALINA_HOME +grant codeBase "file:${catalina.base}/webapps/host-manager/-" { + permission org.apache.catalina.security.DeployXmlPermission "host-manager"; +}; +grant codeBase "file:${catalina.home}/webapps/host-manager/-" { + permission org.apache.catalina.security.DeployXmlPermission "host-manager"; +}; + + +// You can assign additional permissions to particular web applications by +// adding additional "grant" entries here, based on the code base for that +// application, /WEB-INF/classes/, or /WEB-INF/lib/ jar files. +// +// Different permissions can be granted to JSP pages, classes loaded from +// the /WEB-INF/classes/ directory, all jar files in the /WEB-INF/lib/ +// directory, or even to individual jar files in the /WEB-INF/lib/ directory. +// +// For instance, assume that the standard "examples" application +// included a JDBC driver that needed to establish a network connection to the +// corresponding database and used the scrape taglib to get the weather from +// the NOAA web server. You might create a "grant" entries like this: +// +// The permissions granted to the context root directory apply to JSP pages. +// grant codeBase "file:${catalina.base}/webapps/examples/-" { +// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; +// permission java.net.SocketPermission "*.noaa.gov:80", "connect"; +// }; +// +// The permissions granted to the context WEB-INF/classes directory +// grant codeBase "file:${catalina.base}/webapps/examples/WEB-INF/classes/-" { +// }; +// +// The permission granted to your JDBC driver +// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/driver.jar!/-" { +// permission java.net.SocketPermission "dbhost.mycompany.com:5432", "connect"; +// }; +// The permission granted to the scrape taglib +// grant codeBase "jar:file:${catalina.base}/webapps/examples/WEB-INF/lib/scrape.jar!/-" { +// permission java.net.SocketPermission "*.noaa.gov:80", "connect"; +// }; + +// To grant permissions for web applications using packed WAR files, use the +// Tomcat specific WAR url scheme. +// +// The permissions granted to the entire web application +// grant codeBase "war:file:${catalina.base}/webapps/examples.war*/-" { +// }; +// +// The permissions granted to a specific JAR +// grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { +// }; diff --git a/Servers/Tomcat v10.1 Server at localhost-config/catalina.properties b/Servers/Tomcat v10.1 Server at localhost-config/catalina.properties new file mode 100644 index 0000000..def5959 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/catalina.properties @@ -0,0 +1,222 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# +# List of comma-separated packages that start with or equal this string +# will cause a security exception to be thrown when +# passed to checkPackageAccess unless the +# corresponding RuntimePermission ("accessClassInPackage."+package) has +# been granted. +package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat. +# +# List of comma-separated packages that start with or equal this string +# will cause a security exception to be thrown when +# passed to checkPackageDefinition unless the +# corresponding RuntimePermission ("defineClassInPackage."+package) has +# been granted. +# +# by default, no packages are restricted for definition, and none of +# the class loaders supplied with the JDK call checkPackageDefinition. +# +package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,\ +org.apache.jasper.,org.apache.naming.,org.apache.tomcat. + +# +# +# List of comma-separated paths defining the contents of the "common" +# classloader. Prefixes should be used to define what is the repository type. +# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute. +# If left as blank,the JVM system loader will be used as Catalina's "common" +# loader. +# Examples: +# "foo": Add this folder as a class repository +# "foo/*.jar": Add all the JARs of the specified folder as class +# repositories +# "foo/bar.jar": Add bar.jar as a class repository +# +# Note: Values are enclosed in double quotes ("...") in case either the +# ${catalina.base} path or the ${catalina.home} path contains a comma. +# Because double quotes are used for quoting, the double quote character +# may not appear in a path. +common.loader="${catalina.base}/lib","${catalina.base}/lib/*.jar","${catalina.home}/lib","${catalina.home}/lib/*.jar" + +# +# List of comma-separated paths defining the contents of the "server" +# classloader. Prefixes should be used to define what is the repository type. +# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute. +# If left as blank, the "common" loader will be used as Catalina's "server" +# loader. +# Examples: +# "foo": Add this folder as a class repository +# "foo/*.jar": Add all the JARs of the specified folder as class +# repositories +# "foo/bar.jar": Add bar.jar as a class repository +# +# Note: Values may be enclosed in double quotes ("...") in case either the +# ${catalina.base} path or the ${catalina.home} path contains a comma. +# Because double quotes are used for quoting, the double quote character +# may not appear in a path. +server.loader= + +# +# List of comma-separated paths defining the contents of the "shared" +# classloader. Prefixes should be used to define what is the repository type. +# Path may be relative to the CATALINA_BASE path or absolute. If left as blank, +# the "common" loader will be used as Catalina's "shared" loader. +# Examples: +# "foo": Add this folder as a class repository +# "foo/*.jar": Add all the JARs of the specified folder as class +# repositories +# "foo/bar.jar": Add bar.jar as a class repository +# Please note that for single jars, e.g. bar.jar, you need the URL form +# starting with file:. +# +# Note: Values may be enclosed in double quotes ("...") in case either the +# ${catalina.base} path or the ${catalina.home} path contains a comma. +# Because double quotes are used for quoting, the double quote character +# may not appear in a path. +shared.loader= + +# Default list of JAR files that should not be scanned using the JarScanner +# functionality. This is typically used to scan JARs for configuration +# information. JARs that do not contain such information may be excluded from +# the scan to speed up the scanning process. This is the default list. JARs on +# this list are excluded from all scans. The list must be a comma separated list +# of JAR file names. +# The list of JARs to skip may be over-ridden at a Context level for individual +# scan types by configuring a JarScanner with a nested JarScanFilter. +# The JARs listed below include: +# - Tomcat Bootstrap JARs +# - Tomcat API JARs +# - Catalina JARs +# - Jasper JARs +# - Tomcat JARs +# - Common non-Tomcat JARs +# - Test JARs (JUnit, Cobertura and dependencies) +tomcat.util.scan.StandardJarScanFilter.jarsToSkip=\ +annotations-api.jar,\ +ant-junit*.jar,\ +ant-launcher*.jar,\ +ant*.jar,\ +asm-*.jar,\ +aspectj*.jar,\ +bcel*.jar,\ +biz.aQute.bnd*.jar,\ +bootstrap.jar,\ +catalina-ant.jar,\ +catalina-ha.jar,\ +catalina-ssi.jar,\ +catalina-storeconfig.jar,\ +catalina-tribes.jar,\ +catalina.jar,\ +cglib-*.jar,\ +cobertura-*.jar,\ +commons-beanutils*.jar,\ +commons-codec*.jar,\ +commons-collections*.jar,\ +commons-compress*.jar,\ +commons-daemon.jar,\ +commons-dbcp*.jar,\ +commons-digester*.jar,\ +commons-fileupload*.jar,\ +commons-httpclient*.jar,\ +commons-io*.jar,\ +commons-lang*.jar,\ +commons-logging*.jar,\ +commons-math*.jar,\ +commons-pool*.jar,\ +derby-*.jar,\ +dom4j-*.jar,\ +easymock-*.jar,\ +ecj-*.jar,\ +el-api.jar,\ +geronimo-spec-jaxrpc*.jar,\ +h2*.jar,\ +ha-api-*.jar,\ +hamcrest-*.jar,\ +hibernate*.jar,\ +httpclient*.jar,\ +icu4j-*.jar,\ +jakartaee-migration-*.jar,\ +jasper-el.jar,\ +jasper.jar,\ +jaspic-api.jar,\ +jaxb-*.jar,\ +jaxen-*.jar,\ +jaxws-rt-*.jar,\ +jdom-*.jar,\ +jetty-*.jar,\ +jmx-tools.jar,\ +jmx.jar,\ +jsp-api.jar,\ +jstl.jar,\ +jta*.jar,\ +junit-*.jar,\ +junit.jar,\ +log4j*.jar,\ +mail*.jar,\ +objenesis-*.jar,\ +oraclepki.jar,\ +org.hamcrest.core_*.jar,\ +org.junit_*.jar,\ +oro-*.jar,\ +servlet-api-*.jar,\ +servlet-api.jar,\ +slf4j*.jar,\ +taglibs-standard-spec-*.jar,\ +tagsoup-*.jar,\ +tomcat-api.jar,\ +tomcat-coyote.jar,\ +tomcat-coyote-ffm.jar,\ +tomcat-dbcp.jar,\ +tomcat-i18n-*.jar,\ +tomcat-jdbc.jar,\ +tomcat-jni.jar,\ +tomcat-juli-adapters.jar,\ +tomcat-juli.jar,\ +tomcat-util-scan.jar,\ +tomcat-util.jar,\ +tomcat-websocket.jar,\ +tools.jar,\ +unboundid-ldapsdk-*.jar,\ +websocket-api.jar,\ +websocket-client-api.jar,\ +wsdl4j*.jar,\ +xercesImpl.jar,\ +xml-apis.jar,\ +xmlParserAPIs-*.jar,\ +xmlParserAPIs.jar,\ +xom-*.jar + +# Default list of JAR files that should be scanned that overrides the default +# jarsToSkip list above. This is typically used to include a specific JAR that +# has been excluded by a broad file name pattern in the jarsToSkip list. +# The list of JARs to scan may be over-ridden at a Context level for individual +# scan types by configuring a JarScanner with a nested JarScanFilter. +tomcat.util.scan.StandardJarScanFilter.jarsToScan=\ +log4j-taglib*.jar,\ +log4j-jakarta-web*.jar,\ +log4javascript*.jar,\ +slf4j-taglib*.jar + +# String cache configuration. +tomcat.util.buf.StringCache.byte.enabled=true +#tomcat.util.buf.StringCache.char.enabled=true +#tomcat.util.buf.StringCache.trainThreshold=500000 +#tomcat.util.buf.StringCache.cacheSize=5000 + +# Disable use of some privilege blocks Tomcat doesn't need since calls to the +# code in question are always already inside a privilege block +org.apache.el.GET_CLASSLOADER_USE_PRIVILEGED=false diff --git a/Servers/Tomcat v10.1 Server at localhost-config/context.xml b/Servers/Tomcat v10.1 Server at localhost-config/context.xml new file mode 100644 index 0000000..0378399 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/context.xml @@ -0,0 +1,29 @@ + + + + + + WEB-INF/web.xml + WEB-INF/tomcat-web.xml + ${catalina.base}/conf/web.xml + + + + \ No newline at end of file diff --git a/Servers/Tomcat v10.1 Server at localhost-config/server.xml b/Servers/Tomcat v10.1 Server at localhost-config/server.xml new file mode 100644 index 0000000..f26a4e9 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/server.xml @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Servers/Tomcat v10.1 Server at localhost-config/tomcat-users.xml b/Servers/Tomcat v10.1 Server at localhost-config/tomcat-users.xml new file mode 100644 index 0000000..009a485 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/tomcat-users.xml @@ -0,0 +1,52 @@ + + + + + + + \ No newline at end of file diff --git a/Servers/Tomcat v10.1 Server at localhost-config/web.xml b/Servers/Tomcat v10.1 Server at localhost-config/web.xml new file mode 100644 index 0000000..5177226 --- /dev/null +++ b/Servers/Tomcat v10.1 Server at localhost-config/web.xml @@ -0,0 +1,4747 @@ + + + + + + + + + + + + + + + + UTF-8 + UTF-8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + default + org.apache.catalina.servlets.DefaultServlet + + debug + 0 + + + listings + false + + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + jsp + org.apache.jasper.servlet.JspServlet + + fork + false + + + xpoweredBy + false + + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + default + / + + + + + jsp + *.jsp + *.jspx + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 30 + + + + + + + + + + + + + 123 + application/vnd.lotus-1-2-3 + + + 3dml + text/vnd.in3d.3dml + + + 3ds + image/x-3ds + + + 3g2 + video/3gpp2 + + + 3gp + video/3gpp + + + 7z + application/x-7z-compressed + + + aab + application/x-authorware-bin + + + aac + audio/x-aac + + + aam + application/x-authorware-map + + + aas + application/x-authorware-seg + + + abs + audio/x-mpeg + + + abw + application/x-abiword + + + ac + application/pkix-attr-cert + + + acc + application/vnd.americandynamics.acc + + + ace + application/x-ace-compressed + + + acu + application/vnd.acucobol + + + acutc + application/vnd.acucorp + + + adp + audio/adpcm + + + aep + application/vnd.audiograph + + + afm + application/x-font-type1 + + + afp + application/vnd.ibm.modcap + + + ahead + application/vnd.ahead.space + + + ai + application/postscript + + + aif + audio/x-aiff + + + aifc + audio/x-aiff + + + aiff + audio/x-aiff + + + aim + application/x-aim + + + air + application/vnd.adobe.air-application-installer-package+zip + + + ait + application/vnd.dvb.ait + + + ami + application/vnd.amiga.ami + + + anx + application/annodex + + + apk + application/vnd.android.package-archive + + + appcache + text/cache-manifest + + + application + application/x-ms-application + + + apr + application/vnd.lotus-approach + + + arc + application/x-freearc + + + art + image/x-jg + + + asc + application/pgp-signature + + + asf + video/x-ms-asf + + + asm + text/x-asm + + + aso + application/vnd.accpac.simply.aso + + + asx + video/x-ms-asf + + + atc + application/vnd.acucorp + + + atom + application/atom+xml + + + atomcat + application/atomcat+xml + + + atomsvc + application/atomsvc+xml + + + atx + application/vnd.antix.game-component + + + au + audio/basic + + + avi + video/x-msvideo + + + avx + video/x-rad-screenplay + + + aw + application/applixware + + + axa + audio/annodex + + + axv + video/annodex + + + azf + application/vnd.airzip.filesecure.azf + + + azs + application/vnd.airzip.filesecure.azs + + + azw + application/vnd.amazon.ebook + + + bat + application/x-msdownload + + + bcpio + application/x-bcpio + + + bdf + application/x-font-bdf + + + bdm + application/vnd.syncml.dm+wbxml + + + bed + application/vnd.realvnc.bed + + + bh2 + application/vnd.fujitsu.oasysprs + + + bin + application/octet-stream + + + blb + application/x-blorb + + + blorb + application/x-blorb + + + bmi + application/vnd.bmi + + + bmp + image/bmp + + + body + text/html + + + book + application/vnd.framemaker + + + box + application/vnd.previewsystems.box + + + boz + application/x-bzip2 + + + bpk + application/octet-stream + + + btif + image/prs.btif + + + bz + application/x-bzip + + + bz2 + application/x-bzip2 + + + c + text/x-c + + + c11amc + application/vnd.cluetrust.cartomobile-config + + + c11amz + application/vnd.cluetrust.cartomobile-config-pkg + + + c4d + application/vnd.clonk.c4group + + + c4f + application/vnd.clonk.c4group + + + c4g + application/vnd.clonk.c4group + + + c4p + application/vnd.clonk.c4group + + + c4u + application/vnd.clonk.c4group + + + cab + application/vnd.ms-cab-compressed + + + caf + audio/x-caf + + + cap + application/vnd.tcpdump.pcap + + + car + application/vnd.curl.car + + + cat + application/vnd.ms-pki.seccat + + + cb7 + application/x-cbr + + + cba + application/x-cbr + + + cbr + application/x-cbr + + + cbt + application/x-cbr + + + cbz + application/x-cbr + + + cc + text/x-c + + + cct + application/x-director + + + ccxml + application/ccxml+xml + + + cdbcmsg + application/vnd.contact.cmsg + + + cdf + application/x-cdf + + + cdkey + application/vnd.mediastation.cdkey + + + cdmia + application/cdmi-capability + + + cdmic + application/cdmi-container + + + cdmid + application/cdmi-domain + + + cdmio + application/cdmi-object + + + cdmiq + application/cdmi-queue + + + cdx + chemical/x-cdx + + + cdxml + application/vnd.chemdraw+xml + + + cdy + application/vnd.cinderella + + + cer + application/pkix-cert + + + cfs + application/x-cfs-compressed + + + cgm + image/cgm + + + chat + application/x-chat + + + chm + application/vnd.ms-htmlhelp + + + chrt + application/vnd.kde.kchart + + + cif + chemical/x-cif + + + cii + application/vnd.anser-web-certificate-issue-initiation + + + cil + application/vnd.ms-artgalry + + + cla + application/vnd.claymore + + + class + application/java + + + clkk + application/vnd.crick.clicker.keyboard + + + clkp + application/vnd.crick.clicker.palette + + + clkt + application/vnd.crick.clicker.template + + + clkw + application/vnd.crick.clicker.wordbank + + + clkx + application/vnd.crick.clicker + + + clp + application/x-msclip + + + cmc + application/vnd.cosmocaller + + + cmdf + chemical/x-cmdf + + + cml + chemical/x-cml + + + cmp + application/vnd.yellowriver-custom-menu + + + cmx + image/x-cmx + + + cod + application/vnd.rim.cod + + + com + application/x-msdownload + + + conf + text/plain + + + cpio + application/x-cpio + + + cpp + text/x-c + + + cpt + application/mac-compactpro + + + crd + application/x-mscardfile + + + crl + application/pkix-crl + + + crt + application/x-x509-ca-cert + + + cryptonote + application/vnd.rig.cryptonote + + + csh + application/x-csh + + + csml + chemical/x-csml + + + csp + application/vnd.commonspace + + + css + text/css + + + cst + application/x-director + + + csv + text/csv + + + cu + application/cu-seeme + + + curl + text/vnd.curl + + + cww + application/prs.cww + + + cxt + application/x-director + + + cxx + text/x-c + + + dae + model/vnd.collada+xml + + + daf + application/vnd.mobius.daf + + + dart + application/vnd.dart + + + dataless + application/vnd.fdsn.seed + + + davmount + application/davmount+xml + + + dbk + application/docbook+xml + + + dcr + application/x-director + + + dcurl + text/vnd.curl.dcurl + + + dd2 + application/vnd.oma.dd2+xml + + + ddd + application/vnd.fujixerox.ddd + + + deb + application/x-debian-package + + + def + text/plain + + + deploy + application/octet-stream + + + der + application/x-x509-ca-cert + + + dfac + application/vnd.dreamfactory + + + dgc + application/x-dgc-compressed + + + dib + image/bmp + + + dic + text/x-c + + + dir + application/x-director + + + dis + application/vnd.mobius.dis + + + dist + application/octet-stream + + + distz + application/octet-stream + + + djv + image/vnd.djvu + + + djvu + image/vnd.djvu + + + dll + application/x-msdownload + + + dmg + application/x-apple-diskimage + + + dmp + application/vnd.tcpdump.pcap + + + dms + application/octet-stream + + + dna + application/vnd.dna + + + doc + application/msword + + + docm + application/vnd.ms-word.document.macroenabled.12 + + + docx + application/vnd.openxmlformats-officedocument.wordprocessingml.document + + + dot + application/msword + + + dotm + application/vnd.ms-word.template.macroenabled.12 + + + dotx + application/vnd.openxmlformats-officedocument.wordprocessingml.template + + + dp + application/vnd.osgi.dp + + + dpg + application/vnd.dpgraph + + + dra + audio/vnd.dra + + + dsc + text/prs.lines.tag + + + dssc + application/dssc+der + + + dtb + application/x-dtbook+xml + + + dtd + application/xml-dtd + + + dts + audio/vnd.dts + + + dtshd + audio/vnd.dts.hd + + + dump + application/octet-stream + + + dv + video/x-dv + + + dvb + video/vnd.dvb.file + + + dvi + application/x-dvi + + + dwf + model/vnd.dwf + + + dwg + image/vnd.dwg + + + dxf + image/vnd.dxf + + + dxp + application/vnd.spotfire.dxp + + + dxr + application/x-director + + + ecelp4800 + audio/vnd.nuera.ecelp4800 + + + ecelp7470 + audio/vnd.nuera.ecelp7470 + + + ecelp9600 + audio/vnd.nuera.ecelp9600 + + + ecma + application/ecmascript + + + edm + application/vnd.novadigm.edm + + + edx + application/vnd.novadigm.edx + + + efif + application/vnd.picsel + + + ei6 + application/vnd.pg.osasli + + + elc + application/octet-stream + + + emf + application/x-msmetafile + + + eml + message/rfc822 + + + emma + application/emma+xml + + + emz + application/x-msmetafile + + + eol + audio/vnd.digital-winds + + + eot + application/vnd.ms-fontobject + + + eps + application/postscript + + + epub + application/epub+zip + + + es3 + application/vnd.eszigno3+xml + + + esa + application/vnd.osgi.subsystem + + + esf + application/vnd.epson.esf + + + et3 + application/vnd.eszigno3+xml + + + etx + text/x-setext + + + eva + application/x-eva + + + evy + application/x-envoy + + + exe + application/octet-stream + + + exi + application/exi + + + ext + application/vnd.novadigm.ext + + + ez + application/andrew-inset + + + ez2 + application/vnd.ezpix-album + + + ez3 + application/vnd.ezpix-package + + + f + text/x-fortran + + + f4v + video/x-f4v + + + f77 + text/x-fortran + + + f90 + text/x-fortran + + + fbs + image/vnd.fastbidsheet + + + fcdt + application/vnd.adobe.formscentral.fcdt + + + fcs + application/vnd.isac.fcs + + + fdf + application/vnd.fdf + + + fe_launch + application/vnd.denovo.fcselayout-link + + + fg5 + application/vnd.fujitsu.oasysgp + + + fgd + application/x-director + + + fh + image/x-freehand + + + fh4 + image/x-freehand + + + fh5 + image/x-freehand + + + fh7 + image/x-freehand + + + fhc + image/x-freehand + + + fig + application/x-xfig + + + flac + audio/flac + + + fli + video/x-fli + + + flo + application/vnd.micrografx.flo + + + flv + video/x-flv + + + flw + application/vnd.kde.kivio + + + flx + text/vnd.fmi.flexstor + + + fly + text/vnd.fly + + + fm + application/vnd.framemaker + + + fnc + application/vnd.frogans.fnc + + + for + text/x-fortran + + + fpx + image/vnd.fpx + + + frame + application/vnd.framemaker + + + fsc + application/vnd.fsc.weblaunch + + + fst + image/vnd.fst + + + ftc + application/vnd.fluxtime.clip + + + fti + application/vnd.anser-web-funds-transfer-initiation + + + fvt + video/vnd.fvt + + + fxp + application/vnd.adobe.fxp + + + fxpl + application/vnd.adobe.fxp + + + fzs + application/vnd.fuzzysheet + + + g2w + application/vnd.geoplan + + + g3 + image/g3fax + + + g3w + application/vnd.geospace + + + gac + application/vnd.groove-account + + + gam + application/x-tads + + + gbr + application/rpki-ghostbusters + + + gca + application/x-gca-compressed + + + gdl + model/vnd.gdl + + + geo + application/vnd.dynageo + + + gex + application/vnd.geometry-explorer + + + ggb + application/vnd.geogebra.file + + + ggs + application/vnd.geogebra.slides + + + ggt + application/vnd.geogebra.tool + + + ghf + application/vnd.groove-help + + + gif + image/gif + + + gim + application/vnd.groove-identity-message + + + gml + application/gml+xml + + + gmx + application/vnd.gmx + + + gnumeric + application/x-gnumeric + + + gph + application/vnd.flographit + + + gpx + application/gpx+xml + + + gqf + application/vnd.grafeq + + + gqs + application/vnd.grafeq + + + gram + application/srgs + + + gramps + application/x-gramps-xml + + + gre + application/vnd.geometry-explorer + + + grv + application/vnd.groove-injector + + + grxml + application/srgs+xml + + + gsf + application/x-font-ghostscript + + + gtar + application/x-gtar + + + gtm + application/vnd.groove-tool-message + + + gtw + model/vnd.gtw + + + gv + text/vnd.graphviz + + + gxf + application/gxf + + + gxt + application/vnd.geonext + + + gz + application/x-gzip + + + h + text/x-c + + + h261 + video/h261 + + + h263 + video/h263 + + + h264 + video/h264 + + + hal + application/vnd.hal+xml + + + hbci + application/vnd.hbci + + + hdf + application/x-hdf + + + hh + text/x-c + + + hlp + application/winhlp + + + hpgl + application/vnd.hp-hpgl + + + hpid + application/vnd.hp-hpid + + + hps + application/vnd.hp-hps + + + hqx + application/mac-binhex40 + + + htc + text/x-component + + + htke + application/vnd.kenameaapp + + + htm + text/html + + + html + text/html + + + hvd + application/vnd.yamaha.hv-dic + + + hvp + application/vnd.yamaha.hv-voice + + + hvs + application/vnd.yamaha.hv-script + + + i2g + application/vnd.intergeo + + + icc + application/vnd.iccprofile + + + ice + x-conference/x-cooltalk + + + icm + application/vnd.iccprofile + + + ico + image/x-icon + + + ics + text/calendar + + + ief + image/ief + + + ifb + text/calendar + + + ifm + application/vnd.shana.informed.formdata + + + iges + model/iges + + + igl + application/vnd.igloader + + + igm + application/vnd.insors.igm + + + igs + model/iges + + + igx + application/vnd.micrografx.igx + + + iif + application/vnd.shana.informed.interchange + + + imp + application/vnd.accpac.simply.imp + + + ims + application/vnd.ms-ims + + + in + text/plain + + + ink + application/inkml+xml + + + inkml + application/inkml+xml + + + install + application/x-install-instructions + + + iota + application/vnd.astraea-software.iota + + + ipfix + application/ipfix + + + ipk + application/vnd.shana.informed.package + + + irm + application/vnd.ibm.rights-management + + + irp + application/vnd.irepository.package+xml + + + iso + application/x-iso9660-image + + + itp + application/vnd.shana.informed.formtemplate + + + ivp + application/vnd.immervision-ivp + + + ivu + application/vnd.immervision-ivu + + + jad + text/vnd.sun.j2me.app-descriptor + + + jam + application/vnd.jam + + + jar + application/java-archive + + + java + text/x-java-source + + + jisp + application/vnd.jisp + + + jlt + application/vnd.hp-jlyt + + + jnlp + application/x-java-jnlp-file + + + joda + application/vnd.joost.joda-archive + + + jpe + image/jpeg + + + jpeg + image/jpeg + + + jpg + image/jpeg + + + jpgm + video/jpm + + + jpgv + video/jpeg + + + jpm + video/jpm + + + js + text/javascript + + + jsf + text/plain + + + json + application/json + + + jsonml + application/jsonml+json + + + jspf + text/plain + + + kar + audio/midi + + + karbon + application/vnd.kde.karbon + + + kfo + application/vnd.kde.kformula + + + kia + application/vnd.kidspiration + + + kml + application/vnd.google-earth.kml+xml + + + kmz + application/vnd.google-earth.kmz + + + kne + application/vnd.kinar + + + knp + application/vnd.kinar + + + kon + application/vnd.kde.kontour + + + kpr + application/vnd.kde.kpresenter + + + kpt + application/vnd.kde.kpresenter + + + kpxx + application/vnd.ds-keypoint + + + ksp + application/vnd.kde.kspread + + + ktr + application/vnd.kahootz + + + ktx + image/ktx + + + ktz + application/vnd.kahootz + + + kwd + application/vnd.kde.kword + + + kwt + application/vnd.kde.kword + + + lasxml + application/vnd.las.las+xml + + + latex + application/x-latex + + + lbd + application/vnd.llamagraphics.life-balance.desktop + + + lbe + application/vnd.llamagraphics.life-balance.exchange+xml + + + les + application/vnd.hhe.lesson-player + + + lha + application/x-lzh-compressed + + + link66 + application/vnd.route66.link66+xml + + + list + text/plain + + + list3820 + application/vnd.ibm.modcap + + + listafp + application/vnd.ibm.modcap + + + lnk + application/x-ms-shortcut + + + log + text/plain + + + lostxml + application/lost+xml + + + lrf + application/octet-stream + + + lrm + application/vnd.ms-lrm + + + ltf + application/vnd.frogans.ltf + + + lvp + audio/vnd.lucent.voice + + + lwp + application/vnd.lotus-wordpro + + + lzh + application/x-lzh-compressed + + + m13 + application/x-msmediaview + + + m14 + application/x-msmediaview + + + m1v + video/mpeg + + + m21 + application/mp21 + + + m2a + audio/mpeg + + + m2v + video/mpeg + + + m3a + audio/mpeg + + + m3u + audio/x-mpegurl + + + m3u8 + application/vnd.apple.mpegurl + + + m4a + audio/mp4 + + + m4b + audio/mp4 + + + m4r + audio/mp4 + + + m4u + video/vnd.mpegurl + + + m4v + video/mp4 + + + ma + application/mathematica + + + mac + image/x-macpaint + + + mads + application/mads+xml + + + mag + application/vnd.ecowin.chart + + + maker + application/vnd.framemaker + + + man + text/troff + + + mar + application/octet-stream + + + mathml + application/mathml+xml + + + mb + application/mathematica + + + mbk + application/vnd.mobius.mbk + + + mbox + application/mbox + + + mc1 + application/vnd.medcalcdata + + + mcd + application/vnd.mcd + + + mcurl + text/vnd.curl.mcurl + + + mdb + application/x-msaccess + + + mdi + image/vnd.ms-modi + + + me + text/troff + + + mesh + model/mesh + + + meta4 + application/metalink4+xml + + + metalink + application/metalink+xml + + + mets + application/mets+xml + + + mfm + application/vnd.mfmp + + + mft + application/rpki-manifest + + + mgp + application/vnd.osgeo.mapguide.package + + + mgz + application/vnd.proteus.magazine + + + mid + audio/midi + + + midi + audio/midi + + + mie + application/x-mie + + + mif + application/x-mif + + + mime + message/rfc822 + + + mj2 + video/mj2 + + + mjp2 + video/mj2 + + + mjs + text/javascript + + + mk3d + video/x-matroska + + + mka + audio/x-matroska + + + mks + video/x-matroska + + + mkv + video/x-matroska + + + mlp + application/vnd.dolby.mlp + + + mmd + application/vnd.chipnuts.karaoke-mmd + + + mmf + application/vnd.smaf + + + mmr + image/vnd.fujixerox.edmics-mmr + + + mng + video/x-mng + + + mny + application/x-msmoney + + + mobi + application/x-mobipocket-ebook + + + mods + application/mods+xml + + + mov + video/quicktime + + + movie + video/x-sgi-movie + + + mp1 + audio/mpeg + + + mp2 + audio/mpeg + + + mp21 + application/mp21 + + + mp2a + audio/mpeg + + + mp3 + audio/mpeg + + + mp4 + video/mp4 + + + mp4a + audio/mp4 + + + mp4s + application/mp4 + + + mp4v + video/mp4 + + + mpa + audio/mpeg + + + mpc + application/vnd.mophun.certificate + + + mpe + video/mpeg + + + mpeg + video/mpeg + + + mpega + audio/x-mpeg + + + mpg + video/mpeg + + + mpg4 + video/mp4 + + + mpga + audio/mpeg + + + mpkg + application/vnd.apple.installer+xml + + + mpm + application/vnd.blueice.multipass + + + mpn + application/vnd.mophun.application + + + mpp + application/vnd.ms-project + + + mpt + application/vnd.ms-project + + + mpv2 + video/mpeg2 + + + mpy + application/vnd.ibm.minipay + + + mqy + application/vnd.mobius.mqy + + + mrc + application/marc + + + mrcx + application/marcxml+xml + + + ms + text/troff + + + mscml + application/mediaservercontrol+xml + + + mseed + application/vnd.fdsn.mseed + + + mseq + application/vnd.mseq + + + msf + application/vnd.epson.msf + + + msh + model/mesh + + + msi + application/x-msdownload + + + msl + application/vnd.mobius.msl + + + msty + application/vnd.muvee.style + + + mts + model/vnd.mts + + + mus + application/vnd.musician + + + musicxml + application/vnd.recordare.musicxml+xml + + + mvb + application/x-msmediaview + + + mwf + application/vnd.mfer + + + mxf + application/mxf + + + mxl + application/vnd.recordare.musicxml + + + mxml + application/xv+xml + + + mxs + application/vnd.triscape.mxs + + + mxu + video/vnd.mpegurl + + + n-gage + application/vnd.nokia.n-gage.symbian.install + + + n3 + text/n3 + + + nb + application/mathematica + + + nbp + application/vnd.wolfram.player + + + nc + application/x-netcdf + + + ncx + application/x-dtbncx+xml + + + nfo + text/x-nfo + + + ngdat + application/vnd.nokia.n-gage.data + + + nitf + application/vnd.nitf + + + nlu + application/vnd.neurolanguage.nlu + + + nml + application/vnd.enliven + + + nnd + application/vnd.noblenet-directory + + + nns + application/vnd.noblenet-sealer + + + nnw + application/vnd.noblenet-web + + + npx + image/vnd.net-fpx + + + nsc + application/x-conference + + + nsf + application/vnd.lotus-notes + + + ntf + application/vnd.nitf + + + nzb + application/x-nzb + + + oa2 + application/vnd.fujitsu.oasys2 + + + oa3 + application/vnd.fujitsu.oasys3 + + + oas + application/vnd.fujitsu.oasys + + + obd + application/x-msbinder + + + obj + application/x-tgif + + + oda + application/oda + + + + odb + application/vnd.oasis.opendocument.database + + + + odc + application/vnd.oasis.opendocument.chart + + + + odf + application/vnd.oasis.opendocument.formula + + + odft + application/vnd.oasis.opendocument.formula-template + + + + odg + application/vnd.oasis.opendocument.graphics + + + + odi + application/vnd.oasis.opendocument.image + + + + odm + application/vnd.oasis.opendocument.text-master + + + + odp + application/vnd.oasis.opendocument.presentation + + + + ods + application/vnd.oasis.opendocument.spreadsheet + + + + odt + application/vnd.oasis.opendocument.text + + + oga + audio/ogg + + + ogg + audio/ogg + + + ogv + video/ogg + + + + ogx + application/ogg + + + omdoc + application/omdoc+xml + + + onepkg + application/onenote + + + onetmp + application/onenote + + + onetoc + application/onenote + + + onetoc2 + application/onenote + + + opf + application/oebps-package+xml + + + opml + text/x-opml + + + oprc + application/vnd.palm + + + opus + audio/ogg + + + org + application/vnd.lotus-organizer + + + osf + application/vnd.yamaha.openscoreformat + + + osfpvg + application/vnd.yamaha.openscoreformat.osfpvg+xml + + + otc + application/vnd.oasis.opendocument.chart-template + + + otf + font/otf + + + + otg + application/vnd.oasis.opendocument.graphics-template + + + + oth + application/vnd.oasis.opendocument.text-web + + + oti + application/vnd.oasis.opendocument.image-template + + + + otp + application/vnd.oasis.opendocument.presentation-template + + + + ots + application/vnd.oasis.opendocument.spreadsheet-template + + + + ott + application/vnd.oasis.opendocument.text-template + + + oxps + application/oxps + + + oxt + application/vnd.openofficeorg.extension + + + p + text/x-pascal + + + p10 + application/pkcs10 + + + p12 + application/x-pkcs12 + + + p7b + application/x-pkcs7-certificates + + + p7c + application/pkcs7-mime + + + p7m + application/pkcs7-mime + + + p7r + application/x-pkcs7-certreqresp + + + p7s + application/pkcs7-signature + + + p8 + application/pkcs8 + + + pas + text/x-pascal + + + paw + application/vnd.pawaafile + + + pbd + application/vnd.powerbuilder6 + + + pbm + image/x-portable-bitmap + + + pcap + application/vnd.tcpdump.pcap + + + pcf + application/x-font-pcf + + + pcl + application/vnd.hp-pcl + + + pclxl + application/vnd.hp-pclxl + + + pct + image/pict + + + pcurl + application/vnd.curl.pcurl + + + pcx + image/x-pcx + + + pdb + application/vnd.palm + + + pdf + application/pdf + + + pfa + application/x-font-type1 + + + pfb + application/x-font-type1 + + + pfm + application/x-font-type1 + + + pfr + application/font-tdpfr + + + pfx + application/x-pkcs12 + + + pgm + image/x-portable-graymap + + + pgn + application/x-chess-pgn + + + pgp + application/pgp-encrypted + + + pic + image/pict + + + pict + image/pict + + + pkg + application/octet-stream + + + pki + application/pkixcmp + + + pkipath + application/pkix-pkipath + + + plb + application/vnd.3gpp.pic-bw-large + + + plc + application/vnd.mobius.plc + + + plf + application/vnd.pocketlearn + + + pls + audio/x-scpls + + + pml + application/vnd.ctc-posml + + + png + image/png + + + pnm + image/x-portable-anymap + + + pnt + image/x-macpaint + + + portpkg + application/vnd.macports.portpkg + + + pot + application/vnd.ms-powerpoint + + + potm + application/vnd.ms-powerpoint.template.macroenabled.12 + + + potx + application/vnd.openxmlformats-officedocument.presentationml.template + + + ppam + application/vnd.ms-powerpoint.addin.macroenabled.12 + + + ppd + application/vnd.cups-ppd + + + ppm + image/x-portable-pixmap + + + pps + application/vnd.ms-powerpoint + + + ppsm + application/vnd.ms-powerpoint.slideshow.macroenabled.12 + + + ppsx + application/vnd.openxmlformats-officedocument.presentationml.slideshow + + + ppt + application/vnd.ms-powerpoint + + + pptm + application/vnd.ms-powerpoint.presentation.macroenabled.12 + + + pptx + application/vnd.openxmlformats-officedocument.presentationml.presentation + + + pqa + application/vnd.palm + + + prc + application/x-mobipocket-ebook + + + pre + application/vnd.lotus-freelance + + + prf + application/pics-rules + + + ps + application/postscript + + + psb + application/vnd.3gpp.pic-bw-small + + + psd + image/vnd.adobe.photoshop + + + psf + application/x-font-linux-psf + + + pskcxml + application/pskc+xml + + + ptid + application/vnd.pvi.ptid1 + + + pub + application/x-mspublisher + + + pvb + application/vnd.3gpp.pic-bw-var + + + pwn + application/vnd.3m.post-it-notes + + + pya + audio/vnd.ms-playready.media.pya + + + pyv + video/vnd.ms-playready.media.pyv + + + qam + application/vnd.epson.quickanime + + + qbo + application/vnd.intu.qbo + + + qfx + application/vnd.intu.qfx + + + qps + application/vnd.publishare-delta-tree + + + qt + video/quicktime + + + qti + image/x-quicktime + + + qtif + image/x-quicktime + + + qwd + application/vnd.quark.quarkxpress + + + qwt + application/vnd.quark.quarkxpress + + + qxb + application/vnd.quark.quarkxpress + + + qxd + application/vnd.quark.quarkxpress + + + qxl + application/vnd.quark.quarkxpress + + + qxt + application/vnd.quark.quarkxpress + + + ra + audio/x-pn-realaudio + + + ram + audio/x-pn-realaudio + + + rar + application/x-rar-compressed + + + ras + image/x-cmu-raster + + + rcprofile + application/vnd.ipunplugged.rcprofile + + + rdf + application/rdf+xml + + + rdz + application/vnd.data-vision.rdz + + + rep + application/vnd.businessobjects + + + res + application/x-dtbresource+xml + + + rgb + image/x-rgb + + + rif + application/reginfo+xml + + + rip + audio/vnd.rip + + + ris + application/x-research-info-systems + + + rl + application/resource-lists+xml + + + rlc + image/vnd.fujixerox.edmics-rlc + + + rld + application/resource-lists-diff+xml + + + rm + application/vnd.rn-realmedia + + + rmi + audio/midi + + + rmp + audio/x-pn-realaudio-plugin + + + rms + application/vnd.jcp.javame.midlet-rms + + + rmvb + application/vnd.rn-realmedia-vbr + + + rnc + application/relax-ng-compact-syntax + + + roa + application/rpki-roa + + + roff + text/troff + + + rp9 + application/vnd.cloanto.rp9 + + + rpss + application/vnd.nokia.radio-presets + + + rpst + application/vnd.nokia.radio-preset + + + rq + application/sparql-query + + + rs + application/rls-services+xml + + + rsd + application/rsd+xml + + + rss + application/rss+xml + + + rtf + application/rtf + + + rtx + text/richtext + + + s + text/x-asm + + + s3m + audio/s3m + + + saf + application/vnd.yamaha.smaf-audio + + + sbml + application/sbml+xml + + + sc + application/vnd.ibm.secure-container + + + scd + application/x-msschedule + + + scm + application/vnd.lotus-screencam + + + scq + application/scvp-cv-request + + + scs + application/scvp-cv-response + + + scurl + text/vnd.curl.scurl + + + sda + application/vnd.stardivision.draw + + + sdc + application/vnd.stardivision.calc + + + sdd + application/vnd.stardivision.impress + + + sdkd + application/vnd.solent.sdkm+xml + + + sdkm + application/vnd.solent.sdkm+xml + + + sdp + application/sdp + + + sdw + application/vnd.stardivision.writer + + + see + application/vnd.seemail + + + seed + application/vnd.fdsn.seed + + + sema + application/vnd.sema + + + semd + application/vnd.semd + + + semf + application/vnd.semf + + + ser + application/java-serialized-object + + + setpay + application/set-payment-initiation + + + setreg + application/set-registration-initiation + + + sfd-hdstx + application/vnd.hydrostatix.sof-data + + + sfs + application/vnd.spotfire.sfs + + + sfv + text/x-sfv + + + sgi + image/sgi + + + sgl + application/vnd.stardivision.writer-global + + + sgm + text/sgml + + + sgml + text/sgml + + + sh + application/x-sh + + + shar + application/x-shar + + + shf + application/shf+xml + + + + sid + image/x-mrsid-image + + + sig + application/pgp-signature + + + sil + audio/silk + + + silo + model/mesh + + + sis + application/vnd.symbian.install + + + sisx + application/vnd.symbian.install + + + sit + application/x-stuffit + + + sitx + application/x-stuffitx + + + skd + application/vnd.koan + + + skm + application/vnd.koan + + + skp + application/vnd.koan + + + skt + application/vnd.koan + + + sldm + application/vnd.ms-powerpoint.slide.macroenabled.12 + + + sldx + application/vnd.openxmlformats-officedocument.presentationml.slide + + + slt + application/vnd.epson.salt + + + sm + application/vnd.stepmania.stepchart + + + smf + application/vnd.stardivision.math + + + smi + application/smil+xml + + + smil + application/smil+xml + + + smv + video/x-smv + + + smzip + application/vnd.stepmania.package + + + snd + audio/basic + + + snf + application/x-font-snf + + + so + application/octet-stream + + + spc + application/x-pkcs7-certificates + + + spf + application/vnd.yamaha.smaf-phrase + + + spl + application/x-futuresplash + + + spot + text/vnd.in3d.spot + + + spp + application/scvp-vp-response + + + spq + application/scvp-vp-request + + + spx + audio/ogg + + + sql + application/x-sql + + + src + application/x-wais-source + + + srt + application/x-subrip + + + sru + application/sru+xml + + + srx + application/sparql-results+xml + + + ssdl + application/ssdl+xml + + + sse + application/vnd.kodak-descriptor + + + ssf + application/vnd.epson.ssf + + + ssml + application/ssml+xml + + + st + application/vnd.sailingtracker.track + + + stc + application/vnd.sun.xml.calc.template + + + std + application/vnd.sun.xml.draw.template + + + stf + application/vnd.wt.stf + + + sti + application/vnd.sun.xml.impress.template + + + stk + application/hyperstudio + + + stl + application/vnd.ms-pki.stl + + + str + application/vnd.pg.format + + + stw + application/vnd.sun.xml.writer.template + + + sub + text/vnd.dvb.subtitle + + + sus + application/vnd.sus-calendar + + + susp + application/vnd.sus-calendar + + + sv4cpio + application/x-sv4cpio + + + sv4crc + application/x-sv4crc + + + svc + application/vnd.dvb.service + + + svd + application/vnd.svd + + + svg + image/svg+xml + + + svgz + image/svg+xml + + + swa + application/x-director + + + swf + application/x-shockwave-flash + + + swi + application/vnd.aristanetworks.swi + + + sxc + application/vnd.sun.xml.calc + + + sxd + application/vnd.sun.xml.draw + + + sxg + application/vnd.sun.xml.writer.global + + + sxi + application/vnd.sun.xml.impress + + + sxm + application/vnd.sun.xml.math + + + sxw + application/vnd.sun.xml.writer + + + t + text/troff + + + t3 + application/x-t3vm-image + + + taglet + application/vnd.mynfc + + + tao + application/vnd.tao.intent-module-archive + + + tar + application/x-tar + + + tcap + application/vnd.3gpp2.tcap + + + tcl + application/x-tcl + + + teacher + application/vnd.smart.teacher + + + tei + application/tei+xml + + + teicorpus + application/tei+xml + + + tex + application/x-tex + + + texi + application/x-texinfo + + + texinfo + application/x-texinfo + + + text + text/plain + + + tfi + application/thraud+xml + + + tfm + application/x-tex-tfm + + + tga + image/x-tga + + + thmx + application/vnd.ms-officetheme + + + tif + image/tiff + + + tiff + image/tiff + + + tmo + application/vnd.tmobile-livetv + + + torrent + application/x-bittorrent + + + tpl + application/vnd.groove-tool-template + + + tpt + application/vnd.trid.tpt + + + tr + text/troff + + + tra + application/vnd.trueapp + + + trm + application/x-msterminal + + + tsd + application/timestamped-data + + + tsv + text/tab-separated-values + + + ttc + font/collection + + + ttf + font/ttf + + + ttl + text/turtle + + + twd + application/vnd.simtech-mindmapper + + + twds + application/vnd.simtech-mindmapper + + + txd + application/vnd.genomatix.tuxedo + + + txf + application/vnd.mobius.txf + + + txt + text/plain + + + u32 + application/x-authorware-bin + + + udeb + application/x-debian-package + + + ufd + application/vnd.ufdl + + + ufdl + application/vnd.ufdl + + + ulw + audio/basic + + + ulx + application/x-glulx + + + umj + application/vnd.umajin + + + unityweb + application/vnd.unity + + + uoml + application/vnd.uoml+xml + + + uri + text/uri-list + + + uris + text/uri-list + + + urls + text/uri-list + + + ustar + application/x-ustar + + + utz + application/vnd.uiq.theme + + + uu + text/x-uuencode + + + uva + audio/vnd.dece.audio + + + uvd + application/vnd.dece.data + + + uvf + application/vnd.dece.data + + + uvg + image/vnd.dece.graphic + + + uvh + video/vnd.dece.hd + + + uvi + image/vnd.dece.graphic + + + uvm + video/vnd.dece.mobile + + + uvp + video/vnd.dece.pd + + + uvs + video/vnd.dece.sd + + + uvt + application/vnd.dece.ttml+xml + + + uvu + video/vnd.uvvu.mp4 + + + uvv + video/vnd.dece.video + + + uvva + audio/vnd.dece.audio + + + uvvd + application/vnd.dece.data + + + uvvf + application/vnd.dece.data + + + uvvg + image/vnd.dece.graphic + + + uvvh + video/vnd.dece.hd + + + uvvi + image/vnd.dece.graphic + + + uvvm + video/vnd.dece.mobile + + + uvvp + video/vnd.dece.pd + + + uvvs + video/vnd.dece.sd + + + uvvt + application/vnd.dece.ttml+xml + + + uvvu + video/vnd.uvvu.mp4 + + + uvvv + video/vnd.dece.video + + + uvvx + application/vnd.dece.unspecified + + + uvvz + application/vnd.dece.zip + + + uvx + application/vnd.dece.unspecified + + + uvz + application/vnd.dece.zip + + + vcard + text/vcard + + + vcd + application/x-cdlink + + + vcf + text/x-vcard + + + vcg + application/vnd.groove-vcard + + + vcs + text/x-vcalendar + + + vcx + application/vnd.vcx + + + vis + application/vnd.visionary + + + viv + video/vnd.vivo + + + vob + video/x-ms-vob + + + vor + application/vnd.stardivision.writer + + + vox + application/x-authorware-bin + + + vrml + model/vrml + + + vsd + application/vnd.visio + + + vsf + application/vnd.vsf + + + vss + application/vnd.visio + + + vst + application/vnd.visio + + + vsw + application/vnd.visio + + + vtu + model/vnd.vtu + + + vxml + application/voicexml+xml + + + w3d + application/x-director + + + wad + application/x-doom + + + wasm + application/wasm + + + wav + audio/x-wav + + + wax + audio/x-ms-wax + + + + wbmp + image/vnd.wap.wbmp + + + wbs + application/vnd.criticaltools.wbs+xml + + + wbxml + application/vnd.wap.wbxml + + + wcm + application/vnd.ms-works + + + wdb + application/vnd.ms-works + + + wdp + image/vnd.ms-photo + + + weba + audio/webm + + + webm + video/webm + + + webp + image/webp + + + wg + application/vnd.pmi.widget + + + wgt + application/widget + + + wks + application/vnd.ms-works + + + wm + video/x-ms-wm + + + wma + audio/x-ms-wma + + + wmd + application/x-ms-wmd + + + wmf + application/x-msmetafile + + + + wml + text/vnd.wap.wml + + + + wmlc + application/vnd.wap.wmlc + + + + wmls + text/vnd.wap.wmlscript + + + + wmlsc + application/vnd.wap.wmlscriptc + + + wmv + video/x-ms-wmv + + + wmx + video/x-ms-wmx + + + wmz + application/x-msmetafile + + + woff + font/woff + + + woff2 + font/woff2 + + + wpd + application/vnd.wordperfect + + + wpl + application/vnd.ms-wpl + + + wps + application/vnd.ms-works + + + wqd + application/vnd.wqd + + + wri + application/x-mswrite + + + wrl + model/vrml + + + wsdl + application/wsdl+xml + + + wspolicy + application/wspolicy+xml + + + wtb + application/vnd.webturbo + + + wvx + video/x-ms-wvx + + + x32 + application/x-authorware-bin + + + x3d + model/x3d+xml + + + x3db + model/x3d+binary + + + x3dbz + model/x3d+binary + + + x3dv + model/x3d+vrml + + + x3dvz + model/x3d+vrml + + + x3dz + model/x3d+xml + + + xaml + application/xaml+xml + + + xap + application/x-silverlight-app + + + xar + application/vnd.xara + + + xbap + application/x-ms-xbap + + + xbd + application/vnd.fujixerox.docuworks.binder + + + xbm + image/x-xbitmap + + + xdf + application/xcap-diff+xml + + + xdm + application/vnd.syncml.dm+xml + + + xdp + application/vnd.adobe.xdp+xml + + + xdssc + application/dssc+xml + + + xdw + application/vnd.fujixerox.docuworks + + + xenc + application/xenc+xml + + + xer + application/patch-ops-error+xml + + + xfdf + application/vnd.adobe.xfdf + + + xfdl + application/vnd.xfdl + + + xht + application/xhtml+xml + + + xhtml + application/xhtml+xml + + + xhvml + application/xv+xml + + + xif + image/vnd.xiff + + + xla + application/vnd.ms-excel + + + xlam + application/vnd.ms-excel.addin.macroenabled.12 + + + xlc + application/vnd.ms-excel + + + xlf + application/x-xliff+xml + + + xlm + application/vnd.ms-excel + + + xls + application/vnd.ms-excel + + + xlsb + application/vnd.ms-excel.sheet.binary.macroenabled.12 + + + xlsm + application/vnd.ms-excel.sheet.macroenabled.12 + + + xlsx + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + + + xlt + application/vnd.ms-excel + + + xltm + application/vnd.ms-excel.template.macroenabled.12 + + + xltx + application/vnd.openxmlformats-officedocument.spreadsheetml.template + + + xlw + application/vnd.ms-excel + + + xm + audio/xm + + + xml + application/xml + + + xo + application/vnd.olpc-sugar + + + xop + application/xop+xml + + + xpi + application/x-xpinstall + + + xpl + application/xproc+xml + + + xpm + image/x-xpixmap + + + xpr + application/vnd.is-xpr + + + xps + application/vnd.ms-xpsdocument + + + xpw + application/vnd.intercon.formnet + + + xpx + application/vnd.intercon.formnet + + + xsl + application/xml + + + xslt + application/xslt+xml + + + xsm + application/vnd.syncml+xml + + + xspf + application/xspf+xml + + + xul + application/vnd.mozilla.xul+xml + + + xvm + application/xv+xml + + + xvml + application/xv+xml + + + xwd + image/x-xwindowdump + + + xyz + chemical/x-xyz + + + xz + application/x-xz + + + yang + application/yang + + + yin + application/yin+xml + + + z + application/x-compress + + + z1 + application/x-zmachine + + + z2 + application/x-zmachine + + + z3 + application/x-zmachine + + + z4 + application/x-zmachine + + + z5 + application/x-zmachine + + + z6 + application/x-zmachine + + + z7 + application/x-zmachine + + + z8 + application/x-zmachine + + + zaz + application/vnd.zzazz.deck+xml + + + zip + application/zip + + + zir + application/vnd.zul + + + zirz + application/vnd.zul + + + zmm + application/vnd.handheld-entertainment+xml + + + + + + + + + + + + + + + + + + index.html + index.htm + index.jsp + + + \ No newline at end of file diff --git a/TestRest/.classpath b/TestRest/.classpath new file mode 100644 index 0000000..3122b27 --- /dev/null +++ b/TestRest/.classpath @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestRest/.project b/TestRest/.project new file mode 100644 index 0000000..f57861a --- /dev/null +++ b/TestRest/.project @@ -0,0 +1,37 @@ + + + TestRest + + + + + + org.eclipse.wst.common.project.facet.core.builder + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.wst.validation.validationbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.jsdt.core.jsNature + + diff --git a/TestRest/.settings/.jsdtscope b/TestRest/.settings/.jsdtscope new file mode 100644 index 0000000..e4a0c2d --- /dev/null +++ b/TestRest/.settings/.jsdtscope @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/TestRest/.settings/org.eclipse.core.resources.prefs b/TestRest/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..29abf99 --- /dev/null +++ b/TestRest/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,6 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/main/resources=UTF-8 +encoding//src/test/java=UTF-8 +encoding//src/test/resources=UTF-8 +encoding/=UTF-8 diff --git a/TestRest/.settings/org.eclipse.jdt.core.prefs b/TestRest/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..532e4e5 --- /dev/null +++ b/TestRest/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,10 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/TestRest/.settings/org.eclipse.m2e.core.prefs b/TestRest/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/TestRest/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/TestRest/.settings/org.eclipse.wst.common.component b/TestRest/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..460a443 --- /dev/null +++ b/TestRest/.settings/org.eclipse.wst.common.component @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/TestRest/.settings/org.eclipse.wst.common.project.facet.core.xml b/TestRest/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..4005144 --- /dev/null +++ b/TestRest/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.container b/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.name b/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/TestRest/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/TestRest/.settings/org.eclipse.wst.validation.prefs b/TestRest/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..04cad8c --- /dev/null +++ b/TestRest/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=06target +eclipse.preferences.version=1 diff --git a/TestRest/pom.xml b/TestRest/pom.xml new file mode 100644 index 0000000..908814b --- /dev/null +++ b/TestRest/pom.xml @@ -0,0 +1,97 @@ + + + 4.0.0 + + fr.insa.rest + TestRest + war + 0.0.1-SNAPSHOT + RestProject + + + RestProject + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + true + + 17 + 17 + + + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + + + + + + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + + + + + + org.glassfish.jersey.inject + jersey-hk2 + + + + + + + org.glassfish.jersey.media + jersey-media-json-binding + + + + org.glassfish.jersey.core + jersey-client + 4.0.0-M1 + + + + + + 4.0.0-M1 + UTF-8 + 3.4.0 + + diff --git a/TestRest/src/main/java/fr/insa/rest/TestRest/ClientRest.java b/TestRest/src/main/java/fr/insa/rest/TestRest/ClientRest.java new file mode 100644 index 0000000..97399ae --- /dev/null +++ b/TestRest/src/main/java/fr/insa/rest/TestRest/ClientRest.java @@ -0,0 +1,13 @@ +package fr.insa.rest.TestRest; + +import jakarta.ws.rs.client.Client; +import jakarta.ws.rs.client.ClientBuilder; +import jakarta.ws.rs.core.Response; + +public class ClientRest { + public static void main(String [] args) { + Client client = ClientBuilder.newClient(); + Response response = client.target("http://localhost:8080/RestProject/webapi/comparator/longeur/Toulllllouse").request().get(); + System.out.println(response.readEntity(String.class)); + } +} diff --git a/TestRest/target/classes/fr/insa/rest/TestRest/ClientRest.class b/TestRest/target/classes/fr/insa/rest/TestRest/ClientRest.class new file mode 100644 index 0000000000000000000000000000000000000000..34909922d46a2ec48c00d6a088598fad80b32183 GIT binary patch literal 1376 zcmah}T~pIQ6g^uCp&<$u0TucFY5`ePR3v~(1;MGxNCzK$+LpBh)1+(?7=D&MsQBRc z?2mH1NjuOELGo~SH+%Qod(WP`fBydb1z-iQH6$2@KPhfGp5RJ)J};1YA5L<%C7o!h zA<58nAdUpLg;VD5iU+dfGqf#Rj^(d1v}Cfo49T3kCv~(SWuO&p44rw)k#B=aQL2I{ z+L9ricT2+F70L?N^`A+9-|`qn^H=3zQjChQ9ERS^$NYIdJHE1Ni&5R+|w}Iq{W>R&zBVg zbKr#I29$D7jUdbA+oTJh)FDO1)NsG~U?dtH5AjID!o@pi3~k^so-pVHw72f~mVd%9 z(RdFzTX>!sil@0pOdU@_p_drCqrK*&3@l@X*sg|o+NA5AM$j`^lkDjlsYSYDR8P{V zsheRSUIsOFQ}eV_gGW@xxHgtcuKJD}sFK{U!mjPCA%qH_3#(u-wj4*QsA}nH*re9E z;>M}Ux=b(vx+!{pfCSCxr68-(iqptwY@Pm&_Ak-4PBz>IIdqUUY7R7Bqg4vm(Mf;8 z!-oVJf=>NFSAHhldx~2LoMMoX8E1I&71Oin`EPje8)O&H;nPS)P)X?Mqac$69)=pO o!C@88XqChmp5p}t>q8gTkfYoacu6}6tYd>lo%Sa13R`Wdf9bVur2qf` literal 0 HcmV?d00001 diff --git a/TestRest/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF b/TestRest/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF new file mode 100644 index 0000000..3cbb63e --- /dev/null +++ b/TestRest/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF @@ -0,0 +1,4 @@ +Manifest-Version: 1.0 +Build-Jdk-Spec: 22 +Created-By: Maven Integration for Eclipse + diff --git a/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.properties b/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.properties new file mode 100644 index 0000000..a8801c0 --- /dev/null +++ b/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.properties @@ -0,0 +1,7 @@ +#Generated by Maven Integration for Eclipse +#Fri Oct 18 12:10:22 CEST 2024 +artifactId=TestRest +groupId=fr.insa.rest +m2e.projectLocation=/home/nbillard/eclipse-workspace/TestRest +m2e.projectName=TestRest +version=0.0.1-SNAPSHOT diff --git a/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.xml b/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.xml new file mode 100644 index 0000000..908814b --- /dev/null +++ b/TestRest/target/m2e-wtp/web-resources/META-INF/maven/fr.insa.rest/TestRest/pom.xml @@ -0,0 +1,97 @@ + + + 4.0.0 + + fr.insa.rest + TestRest + war + 0.0.1-SNAPSHOT + RestProject + + + RestProject + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + true + + 17 + 17 + + + + org.apache.maven.plugins + maven-war-plugin + 3.4.0 + + + + + + + + + org.glassfish.jersey + jersey-bom + ${jersey.version} + pom + import + + + + + + + + org.glassfish.jersey.inject + jersey-hk2 + + + + + + + org.glassfish.jersey.media + jersey-media-json-binding + + + + org.glassfish.jersey.core + jersey-client + 4.0.0-M1 + + + + + + 4.0.0-M1 + UTF-8 + 3.4.0 + +