From 941483644d9bc45927d90e10d5f946cb2189fefb Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 19 Jan 2022 22:12:29 +0100 Subject: tdwl: example of remote wsdl --- .../WSDL/CountryClient/web/META-INF/context.xml | 2 ++ .../CountryClient/web/WEB-INF/jax-ws-catalog.xml | 4 ++++ Year_3/TSDWL/WSDL/CountryClient/web/index.html | 16 +++++++++++++++ Year_3/TSDWL/WSDL/CountryClient/web/list.jsp | 24 ++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 Year_3/TSDWL/WSDL/CountryClient/web/META-INF/context.xml create mode 100644 Year_3/TSDWL/WSDL/CountryClient/web/WEB-INF/jax-ws-catalog.xml create mode 100644 Year_3/TSDWL/WSDL/CountryClient/web/index.html create mode 100644 Year_3/TSDWL/WSDL/CountryClient/web/list.jsp (limited to 'Year_3/TSDWL/WSDL/CountryClient/web') diff --git a/Year_3/TSDWL/WSDL/CountryClient/web/META-INF/context.xml b/Year_3/TSDWL/WSDL/CountryClient/web/META-INF/context.xml new file mode 100644 index 0000000..bcfc615 --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/web/META-INF/context.xml @@ -0,0 +1,2 @@ + + diff --git a/Year_3/TSDWL/WSDL/CountryClient/web/WEB-INF/jax-ws-catalog.xml b/Year_3/TSDWL/WSDL/CountryClient/web/WEB-INF/jax-ws-catalog.xml new file mode 100644 index 0000000..a15a205 --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/web/WEB-INF/jax-ws-catalog.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Year_3/TSDWL/WSDL/CountryClient/web/index.html b/Year_3/TSDWL/WSDL/CountryClient/web/index.html new file mode 100644 index 0000000..c627c24 --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/web/index.html @@ -0,0 +1,16 @@ + + + + + TODO supply a title + + + + +
TODO write content
+ + diff --git a/Year_3/TSDWL/WSDL/CountryClient/web/list.jsp b/Year_3/TSDWL/WSDL/CountryClient/web/list.jsp new file mode 100644 index 0000000..e3406b4 --- /dev/null +++ b/Year_3/TSDWL/WSDL/CountryClient/web/list.jsp @@ -0,0 +1,24 @@ +<%-- + Document : list + Created on : Jan 19, 2022, 9:57:20 PM + Author : dcariotti +--%> + +<%@page import="org.oorsprong.websamples.TCountryCodeAndName"%> +<%@page import="java.util.List"%> +<%@page contentType="text/html" pageEncoding="UTF-8"%> + + + + + Countries list + + +

Countries list

+ <% List languages = (List) request.getAttribute("countries"); %> + <% for (TCountryCodeAndName language : languages) { %> +

<%= language.getSName()%> Search capital

+ <% } %> + + + -- cgit v1.2.3-18-g5258