diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 22:51:57 +0100 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-01-19 22:51:57 +0100 |
commit | d62cdeb376fb5f0749ce637723a6cb305485aad8 (patch) | |
tree | 43a9adb1a32cdb4ee830061c684e636670c2d3d2 /Year_3/TSDWL/WSDL/FootballClient/web | |
parent | ee61d8b905abe0d541838bd0f0793e5086855bb9 (diff) |
wsdl: add examples
Diffstat (limited to 'Year_3/TSDWL/WSDL/FootballClient/web')
5 files changed, 68 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Context path="/FootballClient"/> 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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> + <system systemId="https://ws.footballpool.dataaccess.eu/info.wso?WSDL" uri="wsdl/ws.footballpool.dataaccess.eu/info.wso.wsdl"/> +</catalog>
\ 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 @@ +<!DOCTYPE html> +<!-- +To change this license header, choose License Headers in Project Properties. +To change this template file, choose Tools | Templates +and open the template in the editor. +--> +<html> + <head> + <title>TODO supply a title</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + </head> + <body> + <div>TODO write content</div> + </body> +</html> 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"%> +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>Stadium list</title> + </head> + <body> + <h1>Stadium list</h1> + <% List<TStadiumInfo> stadiums = (List<TStadiumInfo>) request.getAttribute("stadiumList"); %> + <% for (TStadiumInfo stadium : stadiums) { %> + <p><%= stadium.getSName() %></p> + <% } %> + </body> +</html> 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 @@ +<!DOCTYPE html> +<!-- +To change this license header, choose License Headers in Project Properties. +To change this template file, choose Tools | Templates +and open the template in the editor. +--> +<html> + <head> + <title>Search a stadium</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + </head> + <body> + <form method="post"> + <div> + <label for="name">Insert a name: </label> + <input name="name" id="name" type="text" required> + </div> + <button type="submit">Search</button> + </form> + </body> +</html> |