summaryrefslogtreecommitdiffstats
path: root/petascope/templates
diff options
context:
space:
mode:
authorConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
committerConstantin <jucovschi@gmail.com>2010-06-02 20:09:42 +0200
commit40e12c6af9d05c3413efaf535c35c625b736cbb9 (patch)
tree6a9f6b86b55724e659ca270171496d82362de9cc /petascope/templates
parentfcda34adb1c78d0929778e1324c873552d21ee1d (diff)
downloadrasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.gz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.tar.xz
rasdaman-upstream-40e12c6af9d05c3413efaf535c35c625b736cbb9.zip
preparing for joining with rasdaman open source
Diffstat (limited to 'petascope/templates')
-rw-r--r--petascope/templates/index.jsp27
-rw-r--r--petascope/templates/interface-servlet.html73
-rw-r--r--petascope/templates/wcps-servlet.html32
-rw-r--r--petascope/templates/wcst-servlet.html18
4 files changed, 150 insertions, 0 deletions
diff --git a/petascope/templates/index.jsp b/petascope/templates/index.jsp
new file mode 100644
index 0000000..1fe281e
--- /dev/null
+++ b/petascope/templates/index.jsp
@@ -0,0 +1,27 @@
+<%--
+ Document : WAR Application index entry point
+ Created on : Apr 21, 2009, 7:47:47 AM
+ Author : Andrei Aiordachioaie
+--%>
+
+<%@page contentType="text/html" pageEncoding="UTF-8"%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>PetaScope Implementation</title>
+ </head>
+ <body>
+ <div align="center"><h1>PetaScope Implementation</h1></div>
+
+ <br/>
+ Please choose the service that you want to use:
+ <ul>
+ <li><a href="./wcps">WCPS</a> (the Web Coverage Processing Service).
+ <li><a href="./wcst">WCS-T</a> (the Web Coverage Service Transactional extension).
+ </ul>
+
+ </body>
+</html>
diff --git a/petascope/templates/interface-servlet.html b/petascope/templates/interface-servlet.html
new file mode 100644
index 0000000..6cd41ed
--- /dev/null
+++ b/petascope/templates/interface-servlet.html
@@ -0,0 +1,73 @@
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>PetaScope Web Client</title>
+ </head>
+ <body>
+
+<h1>PetaScope Client Interface</h1>
+
+<p>
+ Please submit one of the following request types:
+ <ul>
+ <li><a href="#proc">ProcessCoverages</a> (WCPS 1.0)</li>
+ <li><a href="#tran">Transaction</a> (WCS-T 1.0)</li>
+ <br />
+ <li><a href="#cap">GetCapabilities</a> (WCS 1.1, WCS 2.0)</li>
+
+ <li><a href="#desc">DescribeCoverage</a> (WCS 1.1, WCS 2.0)</li>
+ <li><a href="#get">GetCoverage</a> (WCS 1.1, WCS 2.0)</li>
+ </ul>
+</p>
+
+
+
+<ol>
+ <li>
+ <p>A <a name="proc"><strong>ProcessCoverage</strong></a> request. <br/>
+ Enter a ProcessCoverage XML request in the text area below.</p>
+ <form action="" method="post">
+ <textarea cols="64" rows="16" name="request"></textarea>
+ <input value="Send" type="submit" />
+ </form>
+ </li>
+
+ <li>
+ <p>A <a name="tran"><strong>Transaction</strong></a> request. <br/>
+ Enter a Transaction XML request in the text area below.</p>
+ <form action="" method="post">
+ <textarea cols="64" rows="16" name="request"></textarea>
+ <input value="Send" type="submit" />
+ </form>
+ </li>
+
+ <li>
+ <p>A <a name="cap"><strong>GetCapabilities</strong></a> request. <br/>
+ Enter a GetCapabilities XML request in the text area below.</p>
+ <form action="" method="post">
+ <textarea cols="64" rows="16" name="request"></textarea>
+ <input value="Send" type="submit" />
+ </form>
+ </li>
+
+ <li>
+ <p>A <a name="desc"><strong>DescribeCoverage</strong></a> request. <br/>
+ Enter a DescribeCoverage XML request in the text area below.</p>
+ <form action="" method="post">
+ <textarea cols="64" rows="16" name="request"></textarea>
+ <input value="Send" type="submit" />
+ </form>
+ </li>
+
+ <li>
+ <p>A <a name="get"><strong>GetCoverage</strong></a> request. <br/>
+ Enter a GetCoverage XML request in the text area below.</p>
+ <form action="" method="post">
+ <textarea cols="64" rows="16" name="request"></textarea>
+ <input value="Send" type="submit" />
+ </form>
+ </li>
+</ol>
+
+</body>
+</html>
diff --git a/petascope/templates/wcps-servlet.html b/petascope/templates/wcps-servlet.html
new file mode 100644
index 0000000..ec7cd44
--- /dev/null
+++ b/petascope/templates/wcps-servlet.html
@@ -0,0 +1,32 @@
+<html>
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>Web Coverage Processing Service</title>
+ </head>
+ <body>
+
+<h1>PetaScope Implementation (WCPS)</h1>
+
+<p>There are 3 ways to invoke this service:</p>
+
+<p>1. Enter a ProcessCoverage request in WCPS abstract syntax and submit it as a POST request with a parameter named <b>query</b>. You can use the form below.</p>
+<form action="" method="post">
+ <textarea cols="64" rows="4" name="query"></textarea>
+ <input value="Send" type="submit">
+</form>
+
+<p>2. Upload a ProcessCoverage XML request as a multupart/form-data POST request containing a file. You can use the form below.</p>
+<form action="" method="post" enctype="multipart/form-data">
+ <input accept="text/xml" size="64" name="xmlfile" type="file">
+ <input value="Send" type="submit">
+</form>
+
+<p>3. Enter a ProcessCoverage XML request and submit it as a POST request with a parameter named <b>xml</b>. You can use the form below.</p>
+<form action="" method="post">
+ <textarea cols="64" rows="16" name="xml"></textarea>
+ <input value="Send" type="submit">
+</form>
+
+
+</body>
+</html>
diff --git a/petascope/templates/wcst-servlet.html b/petascope/templates/wcst-servlet.html
new file mode 100644
index 0000000..9a3b9de
--- /dev/null
+++ b/petascope/templates/wcst-servlet.html
@@ -0,0 +1,18 @@
+<html>
+ <head>
+ <title>WCS Transaction Extension (Jacobs University)</title>
+ </head>
+<body>
+
+ <h1>WCS-Transaction Extension (Jacobs University)</h1>
+ Please enter a Transaction XML request in box below ... <br />
+
+ <h3>Transaction operation</h3>
+ <form action="" method="POST">Please enter a WCS Transaction XML request:<br />
+ <textarea name="TransactionXML" rows="15" cols="80"></textarea> <br />
+ <input type="submit" value="Submit" />
+ </form>
+<br /> <hr />
+
+</body>
+</html>