From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001 From: Sven Eisenhauer Date: Fri, 10 Nov 2023 15:11:48 +0100 Subject: add new repo --- .../DSI-Praktikum-1_ausgang/WS-Client/build.xml | 74 +++ .../DSI-Praktikum-1_ausgang/WS-Client/catalog.xml | 19 + ...beans-modules-java-j2seproject-copylibstask.jar | Bin 0 -> 11178 bytes .../WS-Client/lib/jaxws21/FastInfoset.jar | Bin 0 -> 287304 bytes .../WS-Client/lib/jaxws21/activation.jar | Bin 0 -> 62394 bytes .../WS-Client/lib/jaxws21/http.jar | Bin 0 -> 79619 bytes .../WS-Client/lib/jaxws21/jaxb-api.jar | Bin 0 -> 89193 bytes .../WS-Client/lib/jaxws21/jaxb-impl.jar | Bin 0 -> 836655 bytes .../WS-Client/lib/jaxws21/jaxb-xjc.jar | Bin 0 -> 3088762 bytes .../WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip | Bin 0 -> 230451 bytes .../WS-Client/lib/jaxws21/jaxws-api.jar | Bin 0 -> 36005 bytes .../WS-Client/lib/jaxws21/jaxws-rt.jar | Bin 0 -> 1109301 bytes .../WS-Client/lib/jaxws21/jaxws-tools.jar | Bin 0 -> 492309 bytes .../WS-Client/lib/jaxws21/jsr173_api.jar | Bin 0 -> 23246 bytes .../WS-Client/lib/jaxws21/jsr181-api.jar | Bin 0 -> 7956 bytes .../WS-Client/lib/jaxws21/jsr250-api.jar | Bin 0 -> 5948 bytes .../WS-Client/lib/jaxws21/saaj-api.jar | Bin 0 -> 18623 bytes .../WS-Client/lib/jaxws21/saaj-impl.jar | Bin 0 -> 272777 bytes .../WS-Client/lib/jaxws21/sjsxp.jar | Bin 0 -> 326804 bytes .../WS-Client/lib/jaxws21/stax-ex.jar | Bin 0 -> 10325 bytes .../WS-Client/lib/jaxws21/streambuffer.jar | Bin 0 -> 57148 bytes .../WS-Client/lib/junit/junit-3.8.2-api.zip | Bin 0 -> 72381 bytes .../WS-Client/lib/junit/junit-3.8.2.jar | Bin 0 -> 118932 bytes .../WS-Client/lib/junit_4/junit-4.1.jar | Bin 0 -> 111092 bytes .../WS-Client/lib/nblibraries-private.properties | 0 .../WS-Client/lib/nblibraries.properties | 28 + .../DSI-Praktikum-1_ausgang/WS-Client/manifest.mf | 3 + .../WS-Client/nbproject/build-impl.xml | 662 +++++++++++++++++++++ .../WS-Client/nbproject/genfiles.properties | 8 + .../WS-Client/nbproject/jax-ws.xml | 107 ++++ .../WS-Client/nbproject/jaxws-build.xml | 69 +++ .../WS-Client/nbproject/private/private.properties | 2 + .../WS-Client/nbproject/private/private.xml | 4 + .../WS-Client/nbproject/project.properties | 61 ++ .../WS-Client/nbproject/project.xml | 26 + .../WS-Client/src/wsclient/Bestellung.java | 174 ++++++ .../WS-Client/src/wsclient/Main.java | 25 + .../WS-Client/src/wsclient/MainWindow.form | 139 +++++ .../WS-Client/src/wsclient/MainWindow.java | 159 +++++ .../ArtikelManagerBean.wsdl | 227 +++++++ .../ArtikelManagerBean.xsd_1.xsd | 129 ++++ .../BestellBeanService/BestellBean.wsdl | 129 ++++ .../BestellBeanService/BestellBean.xsd_1.xsd | 70 +++ .../localhost_8080/LagerBeanService/LagerBean.wsdl | 130 ++++ .../LagerBeanService/LagerBean.xsd_1.xsd | 73 +++ .../LieferantBeanService/LieferantBean.wsdl | 59 ++ .../LieferantBeanService/LieferantBean.xsd_1.xsd | 33 + .../MindestMengeService.wsdl | 36 ++ .../MindestMengeService.xsd_1.xsd | 18 + 49 files changed, 2464 insertions(+) create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl create mode 100644 Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd (limited to 'Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client') diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml new file mode 100644 index 0000000..8d147e2 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/build.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + Builds, tests, and runs the project WS-Client. + + + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml new file mode 100644 index 0000000..a175d96 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/catalog.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar new file mode 100644 index 0000000..6810af3 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar new file mode 100644 index 0000000..184dfda Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/FastInfoset.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar new file mode 100644 index 0000000..3869b58 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/activation.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar new file mode 100644 index 0000000..5096abe Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/http.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar new file mode 100644 index 0000000..ad6904f Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar new file mode 100644 index 0000000..534e99d Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-impl.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar new file mode 100644 index 0000000..8c114c6 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxb-xjc.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip new file mode 100644 index 0000000..0836e1c Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-2_1-api-doc.zip differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar new file mode 100644 index 0000000..abf09dd Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar new file mode 100644 index 0000000..8dbe644 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-rt.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar new file mode 100644 index 0000000..85c19ee Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jaxws-tools.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar new file mode 100644 index 0000000..b3aafa9 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr173_api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar new file mode 100644 index 0000000..948af5d Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr181-api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar new file mode 100644 index 0000000..fa4e072 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/jsr250-api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar new file mode 100644 index 0000000..ebd7c18 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-api.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar new file mode 100644 index 0000000..6aa2c7c Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/saaj-impl.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar new file mode 100644 index 0000000..b697fc7 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/sjsxp.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar new file mode 100644 index 0000000..1bb5ea5 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/stax-ex.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar new file mode 100644 index 0000000..17cb6ce Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/jaxws21/streambuffer.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip new file mode 100644 index 0000000..dc075ba Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2-api.zip differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar new file mode 100644 index 0000000..d835872 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit/junit-3.8.2.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar new file mode 100644 index 0000000..30e5ec3 Binary files /dev/null and b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/junit_4/junit-4.1.jar differ diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries-private.properties new file mode 100644 index 0000000..e69de29 diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties new file mode 100644 index 0000000..cfacb0f --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/lib/nblibraries.properties @@ -0,0 +1,28 @@ +libs.junit.classpath=\ + ${base}/junit/junit-3.8.2.jar +libs.junit.javadoc=\ + ${base}/junit/junit-3.8.2-api.zip +libs.junit_4.classpath=\ + ${base}/junit_4/junit-4.1.jar +libs.CopyLibs.classpath=\ + ${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar +libs.jaxws21.classpath=\ + ${base}/jaxws21/activation.jar;\ + ${base}/jaxws21/FastInfoset.jar;\ + ${base}/jaxws21/http.jar;\ + ${base}/jaxws21/jaxb-api.jar;\ + ${base}/jaxws21/jaxb-impl.jar;\ + ${base}/jaxws21/jaxb-xjc.jar;\ + ${base}/jaxws21/jaxws-api.jar;\ + ${base}/jaxws21/jaxws-rt.jar;\ + ${base}/jaxws21/jaxws-tools.jar;\ + ${base}/jaxws21/jsr173_api.jar;\ + ${base}/jaxws21/jsr181-api.jar;\ + ${base}/jaxws21/jsr250-api.jar;\ + ${base}/jaxws21/saaj-api.jar;\ + ${base}/jaxws21/saaj-impl.jar;\ + ${base}/jaxws21/sjsxp.jar;\ + ${base}/jaxws21/stax-ex.jar;\ + ${base}/jaxws21/streambuffer.jar +libs.jaxws21.javadoc=\ + ${base}/jaxws21/jaxws-2_1-api-doc.zip diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf new file mode 100644 index 0000000..1574df4 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml new file mode 100644 index 0000000..5115c9a --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/build-impl.xml @@ -0,0 +1,662 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + + + + + + java -cp "${run.classpath.with.dist.jar}" ${main.class} + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties new file mode 100644 index 0000000..fd3ac41 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=d221105c +build.xml.script.CRC32=4a36ae31 +build.xml.stylesheet.CRC32=958a1d3e +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=d221105c +nbproject/build-impl.xml.script.CRC32=a21d2adb +nbproject/build-impl.xml.stylesheet.CRC32=65b8de21 diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml new file mode 100644 index 0000000..1e85d37 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jax-ws.xml @@ -0,0 +1,107 @@ + + + + + + http://localhost:8080/BestellBeanService/BestellBean?wsdl + localhost_8080/BestellBeanService/BestellBean.wsdl + beans.bestell + catalog.xml + + + extension + true + + + verbose + true + + + wsdlLocation + http://localhost:8080/BestellBeanService/BestellBean?wsdl + + + + + http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl + localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl + beans.artikelmanager + catalog.xml + + + extension + true + + + verbose + true + + + wsdlLocation + http://localhost:8080/ArtikelManagerBeanService/ArtikelManagerBean?wsdl + + + + + http://localhost:8080/LagerBeanService/LagerBean?wsdl + localhost_8080/LagerBeanService/LagerBean.wsdl + beans.lager + catalog.xml + + + extension + true + + + verbose + true + + + wsdlLocation + http://localhost:8080/LagerBeanService/LagerBean?wsdl + + + + + http://localhost:8080/LieferantBeanService/LieferantBean?wsdl + localhost_8080/LieferantBeanService/LieferantBean.wsdl + beans.lieferant + catalog.xml + + + extension + true + + + verbose + true + + + wsdlLocation + http://localhost:8080/LieferantBeanService/LieferantBean?wsdl + + + + + http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl + localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl + ws + catalog.xml + + + extension + true + + + verbose + true + + + wsdlLocation + http://localhost:8080/DSI-Andere-Webservices/MindestMengeService?wsdl + + + + + false + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml new file mode 100644 index 0000000..b66907a --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/jaxws-build.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties new file mode 100644 index 0000000..07a4cb1 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.properties @@ -0,0 +1,2 @@ +jaxws.endorsed.dir=C:\\Programme\\NetBeans 6.5\\java2\\modules\\ext\\jaxws21\\api:C:\\Programme\\NetBeans 6.5\\ide10\\modules\\ext\\jaxb\\api +user.properties.file=C:\\Dokumente und Einstellungen\\eisenhauer\\.netbeans\\6.5\\build.properties diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml new file mode 100644 index 0000000..cc2c0e5 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/private/private.xml @@ -0,0 +1,4 @@ + + + + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties new file mode 100644 index 0000000..fc24d08 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.properties @@ -0,0 +1,61 @@ +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/WS-Client.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath=\ + ${libs.jaxws21.classpath} +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.source=1.5 +javac.target=1.5 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir}:\ + ${libs.junit.classpath}:\ + ${libs.junit_4.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=wsclient.Main +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project +# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value +# or test-sys-prop.name=value to set system properties for unit tests): +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test +compile.on.save.unsupported.jaxws=true diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml new file mode 100644 index 0000000..a209bd3 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/nbproject/project.xml @@ -0,0 +1,26 @@ + + + org.netbeans.modules.java.j2seproject + + + + + + + + + + WS-Client + 1.6.5 + + + + + + + + + .\lib\nblibraries.properties + + + diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java new file mode 100644 index 0000000..d2902d7 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Bestellung.java @@ -0,0 +1,174 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package wsclient; + +/* + * TODO: nach der Generierung der Webservice-Clients bitte Kommentar entfernen + * +import beans.artikelmanager.*; +*/ + + +/** + * + * @author Jan + */ +public class Bestellung { + + + /** + * fuehrt eine Bestellung durch + * + * @param kundenId Die ID des Kunden + * @param artikelId Die ID des Artikels + * @param artikelAnzahl Die Anzahl der Artikel + * @return String Report ueber die Bestellung + * @throws java.lang.Exception + */ + public String fuehreBestellungDurch(long kundenId, long artikelId, long artikelAnzahl) throws Exception { + if(validiereBestellung(artikelId, artikelAnzahl, kundenId) != true) { + throw new Exception("Bestellung nicht valide"); + } + beans.artikelmanager.Artikel artikel = holeArtikelDaten(artikelId); + + if(pruefeVerfuegbarkeit(artikelId, artikelAnzahl)!=true) { + long mindestMenge = holeMindestmengeFuerArtikel(artikelId); + long imLager = artikel.getAnzahl(); + long anzahlNachbestellen = artikelAnzahl - imLager + mindestMenge; + bestelleNach(artikelId, anzahlNachbestellen); + System.out.println(String.format("Reordeing %d pieces of %d", anzahlNachbestellen,artikelId)); + } + bucheAus(artikelId, artikelAnzahl); + double preisNetto = berechneGesamtpreis(artikelAnzahl, artikel.getPreis()); + double mwst = berechneMehrwertSteuer(preisNetto); + String output = erstelleReport(kundenId, artikelAnzahl, artikel, preisNetto, mwst); + return output; + //throw new Exception("noch nicht implementiert!"); + } + + + + +/** + * Die folgenden Methoden koennen zum wrappen der Webservice-Aufrufe verwendet werden + * mittels erstelleReport kann ein Report generiert werden, + * den fuehreBestellungenDurch zurueckgeben kann + */ + + private boolean validiereBestellung(long artikelId, long anzahl, long kundenId) throws Exception { + try { // Call Web Service Operation + beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService(); + beans.bestell.BestellBean port = service.getBestellBeanPort(); + boolean result = port.validiereBestellung(artikelId, anzahl, kundenId); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error validating order with BestellBeanService",ex); + } + } + + private beans.artikelmanager.Artikel holeArtikelDaten(long artikelId) throws beans.artikelmanager.UnbekanntesEntityException_Exception, Exception { + try { // Call Web Service Operation + beans.artikelmanager.ArtikelManagerBeanService service = new beans.artikelmanager.ArtikelManagerBeanService(); + beans.artikelmanager.ArtikelManagerBean port = service.getArtikelManagerBeanPort(); + beans.artikelmanager.Artikel result = port.readArtikel(artikelId); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error fetching Artikel from ArtikelManagerBeanService", ex); + } + } + + private boolean pruefeVerfuegbarkeit(long artikelId, long anzahl) throws Exception { + try { // Call Web Service Operation + beans.lager.LagerBeanService service = new beans.lager.LagerBeanService(); + beans.lager.LagerBean port = service.getLagerBeanPort(); + boolean result = port.pruefeVerfuegbarkeit(artikelId, anzahl); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error fetching availability from LagerBeanService", ex); + } + + } + + private void bestelleNach(long artikelId, long anzahl) throws beans.lieferant.IllegalerWertException_Exception, beans.lieferant.UnbekanntesEntityException_Exception, Exception { + try { // Call Web Service Operation + beans.lieferant.LieferantBeanService service = new beans.lieferant.LieferantBeanService(); + beans.lieferant.LieferantBean port = service.getLieferantBeanPort(); + port.bestelleNach(artikelId, anzahl); + } catch (Exception ex) { + throw new Exception("Error calling bestelleNach Service Method of LieferantBeanService",ex); + } + + } + + private void bucheAus(long artikelId, long anzahl) throws beans.lager.IllegalerWertException_Exception, beans.lager.UnbekanntesEntityException_Exception, Exception { + try { // Call Web Service Operation + beans.lager.LagerBeanService service = new beans.lager.LagerBeanService(); + beans.lager.LagerBean port = service.getLagerBeanPort(); + port.bucheArtikelAus(artikelId, anzahl); + } catch (Exception ex) { + throw new Exception("Error calling bucheAus Service Method of LagerBeanService", ex); + } + + } + + private double berechneGesamtpreis(long anzahl, double preis) throws Exception { + try { // Call Web Service Operation + beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService(); + beans.bestell.BestellBean port = service.getBestellBeanPort(); + double result = port.berechneGesamtpreis(anzahl, preis); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error calling berechneGesamtpreis Service Method of BestellBeanService", ex); + } + + } + + private double berechneMehrwertSteuer(double preis) throws Exception { + try { // Call Web Service Operation + beans.bestell.BestellBeanService service = new beans.bestell.BestellBeanService(); + beans.bestell.BestellBean port = service.getBestellBeanPort(); + double result = port.berechneMehrwertSteuer(preis); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error calling berechneMehrwertSteuer Service Method of BestellBeanService", ex); + } + + } + + private long holeMindestmengeFuerArtikel(long artikelId) throws Exception { + try { // Call Web Service Operation + ws.MindestMengeService service = new ws.MindestMengeService(); + ws.MindestMenge port = service.getMindestMengePort(); + long result = port.holeMindestmengeFuerArtikel(artikelId); + System.out.println("Result = "+result); + return result; + } catch (Exception ex) { + throw new Exception("Error calling holeMindestmengeFuerArtikel Service Method of MindestMengeService", ex); + } + + } + + private String erstelleReport(long kundenId, long artikelAnzahl, beans.artikelmanager.Artikel artikel, double preisOhneMwSt , double MwSt){ + String output = ""; + + output += ""; + output += "

Bestellung

"; + + output += "Kunden-Nr: " + kundenId + "

"; + output += "Artikel" + "

"; + output += " Artikel-Nr: " + artikel.getId() + " Bezeichnung: " + artikel.getBezeichnung() + "

"; + output += "Bestellmenge: " + artikelAnzahl + "

"; + output += "Preis: " + String.format("%.2f", preisOhneMwSt) + "€ + " + String.format("%.2f", MwSt) + "€ MwSt = " + String.format("%.2f" ,(preisOhneMwSt + MwSt)) + "€" + "

"; + output += ""; + + return output; + } + +} \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java new file mode 100644 index 0000000..d95fedf --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/Main.java @@ -0,0 +1,25 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package wsclient; + +import javax.swing.JFrame; + +/** + * + * @author Jan + */ +public class Main { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + JFrame main = new MainWindow(); + main.setVisible(true); + } + +} diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form new file mode 100644 index 0000000..10aa90e --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.form @@ -0,0 +1,139 @@ + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java new file mode 100644 index 0000000..c05c0ce --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/src/wsclient/MainWindow.java @@ -0,0 +1,159 @@ +/* + * MainWindow.java + * + * Created on 8. Juli 2008, 17:02 + */ + +package wsclient; + +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.swing.JDialog; +import javax.swing.JOptionPane; + +/** + * + * @author Jan + */ +public class MainWindow extends javax.swing.JFrame { + + /** Creates new form MainWindow */ + public MainWindow() { + initComponents(); + } + + /** This method is called from within the constructor to + * initialize the form. + * WARNING: Do NOT modify this code. The content of this method is + * always regenerated by the Form Editor. + */ + @SuppressWarnings("unchecked") + // //GEN-BEGIN:initComponents + private void initComponents() { + + jLabel1 = new javax.swing.JLabel(); + jLabel2 = new javax.swing.JLabel(); + jLabel3 = new javax.swing.JLabel(); + jSpinnerKundeId = new javax.swing.JSpinner(); + jSpinnerArtikelId = new javax.swing.JSpinner(); + jSpinnerArtikelAnzahl = new javax.swing.JSpinner(); + jButtonBestellungAbschicken = new javax.swing.JButton(); + jLabelOutput = new javax.swing.JLabel(); + + setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); + + jLabel1.setText("Kunden-Id"); + + jLabel2.setText("Artikel-Id"); + + jLabel3.setText("Anzahl"); + + jSpinnerKundeId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L))); + + jSpinnerArtikelId.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L))); + + jSpinnerArtikelAnzahl.setModel(new javax.swing.SpinnerNumberModel(Long.valueOf(0L), null, null, Long.valueOf(1L))); + + jButtonBestellungAbschicken.setText("Bestellung abschicken"); + jButtonBestellungAbschicken.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + jButtonBestellungAbschickenActionPerformed(evt); + } + }); + + jLabelOutput.setText("..."); + jLabelOutput.setVerticalAlignment(javax.swing.SwingConstants.TOP); + + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); + getContentPane().setLayout(layout); + layout.setHorizontalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addGap(22, 22, 22) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addComponent(jLabel3) + .addComponent(jLabel2) + .addComponent(jLabel1)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) + .addComponent(jSpinnerKundeId) + .addComponent(jSpinnerArtikelId) + .addComponent(jSpinnerArtikelAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addGap(18, 18, 18)) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(jButtonBestellungAbschicken, javax.swing.GroupLayout.DEFAULT_SIZE, 179, Short.MAX_VALUE) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))) + .addGap(158, 158, 158) + .addComponent(jLabelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 293, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap()) + ); + layout.setVerticalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addGap(24, 24, 24) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(jLabel1) + .addComponent(jSpinnerKundeId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(jLabel2) + .addComponent(jSpinnerArtikelId, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) + .addComponent(jLabel3) + .addComponent(jSpinnerArtikelAnzahl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) + .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) + .addComponent(jButtonBestellungAbschicken)) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(jLabelOutput, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE))) + .addContainerGap(102, Short.MAX_VALUE)) + ); + + pack(); + }// //GEN-END:initComponents + + +private void jButtonBestellungAbschickenActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonBestellungAbschickenActionPerformed + Bestellung b = new Bestellung(); + + try { + + + String output = b.fuehreBestellungDurch((Long) jSpinnerKundeId.getValue(), (Long) jSpinnerArtikelId.getValue(), (Long) jSpinnerArtikelAnzahl.getValue()); + + jLabelOutput.setText(output); + } catch (Exception ex) { + + JOptionPane.showMessageDialog(rootPane, ex.getMessage(), "Fehler beim Bestellvorgang", JOptionPane.ERROR_MESSAGE); + } +}//GEN-LAST:event_jButtonBestellungAbschickenActionPerformed + + /** + * @param args the command line arguments + */ + public static void main(String args[]) { + java.awt.EventQueue.invokeLater(new Runnable() { + public void run() { + new MainWindow().setVisible(true); + } + }); + } + + // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JButton jButtonBestellungAbschicken; + private javax.swing.JLabel jLabel1; + private javax.swing.JLabel jLabel2; + private javax.swing.JLabel jLabel3; + private javax.swing.JLabel jLabelOutput; + private javax.swing.JSpinner jSpinnerArtikelAnzahl; + private javax.swing.JSpinner jSpinnerArtikelId; + private javax.swing.JSpinner jSpinnerKundeId; + // End of variables declaration//GEN-END:variables + +} diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl new file mode 100644 index 0000000..f442156 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.wsdl @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd new file mode 100644 index 0000000..5b22af3 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/ArtikelManagerBean/wsdl/localhost_8080/ArtikelManagerBeanService/ArtikelManagerBean.xsd_1.xsd @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl new file mode 100644 index 0000000..5ad7ab1 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.wsdl @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd new file mode 100644 index 0000000..494ace5 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/BestellBean/wsdl/localhost_8080/BestellBeanService/BestellBean.xsd_1.xsd @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl new file mode 100644 index 0000000..8bc3ae1 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.wsdl @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd new file mode 100644 index 0000000..7b12c62 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LagerBean/wsdl/localhost_8080/LagerBeanService/LagerBean.xsd_1.xsd @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl new file mode 100644 index 0000000..683b35d --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.wsdl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd new file mode 100644 index 0000000..bced623 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/LieferantBean/wsdl/localhost_8080/LieferantBeanService/LieferantBean.xsd_1.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl new file mode 100644 index 0000000..9ebc836 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.wsdl @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd new file mode 100644 index 0000000..3c9c4f3 --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/WS-Client/xml-resources/web-service-references/MindestMengeService/wsdl/localhost_8080/DSI-Andere-Webservices/MindestMengeService.xsd_1.xsd @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3