From d62cdeb376fb5f0749ce637723a6cb305485aad8 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 19 Jan 2022 22:51:57 +0100 Subject: wsdl: add examples --- .../WSDL/FootballClient/web/META-INF/context.xml | 2 ++ .../FootballClient/web/WEB-INF/jax-ws-catalog.xml | 4 ++++ Year_3/TSDWL/WSDL/FootballClient/web/index.html | 16 +++++++++++++++ Year_3/TSDWL/WSDL/FootballClient/web/list.jsp | 24 ++++++++++++++++++++++ Year_3/TSDWL/WSDL/FootballClient/web/search.html | 22 ++++++++++++++++++++ 5 files changed, 68 insertions(+) create mode 100644 Year_3/TSDWL/WSDL/FootballClient/web/META-INF/context.xml create mode 100644 Year_3/TSDWL/WSDL/FootballClient/web/WEB-INF/jax-ws-catalog.xml create mode 100644 Year_3/TSDWL/WSDL/FootballClient/web/index.html create mode 100644 Year_3/TSDWL/WSDL/FootballClient/web/list.jsp create mode 100644 Year_3/TSDWL/WSDL/FootballClient/web/search.html (limited to 'Year_3/TSDWL/WSDL/FootballClient/web') diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/META-INF/context.xml b/Year_3/TSDWL/WSDL/FootballClient/web/META-INF/context.xml new file mode 100644 index 0000000..a3b375b --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/META-INF/context.xml @@ -0,0 +1,2 @@ + + diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/WEB-INF/jax-ws-catalog.xml b/Year_3/TSDWL/WSDL/FootballClient/web/WEB-INF/jax-ws-catalog.xml new file mode 100644 index 0000000..fa89486 --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/WEB-INF/jax-ws-catalog.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/index.html b/Year_3/TSDWL/WSDL/FootballClient/web/index.html new file mode 100644 index 0000000..c627c24 --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/index.html @@ -0,0 +1,16 @@ + + + + + TODO supply a title + + + + +
TODO write content
+ + diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp b/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp new file mode 100644 index 0000000..fba56fa --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/list.jsp @@ -0,0 +1,24 @@ +<%-- + Document : list + Created on : Jan 19, 2022, 8:53:23 PM + Author : dcariotti +--%> + +<%@page import="https.footballpool_dataaccess.ArrayOftStadiumInfo"%> +<%@page import="https.footballpool_dataaccess.TStadiumInfo"%> +<%@page import="java.util.List"%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Stadium list + + +

Stadium list

+ <% List stadiums = (List) request.getAttribute("stadiumList"); %> + <% for (TStadiumInfo stadium : stadiums) { %> +

<%= stadium.getSName() %>

+ <% } %> + + diff --git a/Year_3/TSDWL/WSDL/FootballClient/web/search.html b/Year_3/TSDWL/WSDL/FootballClient/web/search.html new file mode 100644 index 0000000..4cac9f3 --- /dev/null +++ b/Year_3/TSDWL/WSDL/FootballClient/web/search.html @@ -0,0 +1,22 @@ + + + + + Search a stadium + + + + +
+
+ + +
+ +
+ + -- cgit v1.2.3-18-g5258