Skip to content
Snippets Groups Projects
Commit 35594371 authored by Robert Butora's avatar Robert Butora
Browse files

vosi: fixes /capabilities and service-descriptor

parent cdc040e3
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,6 @@ public class ServletCutout extends HttpServlet ...@@ -96,7 +96,6 @@ public class ServletCutout extends HttpServlet
+ "<VALUES>" + "<VALUES>"
+ "<OPTION>ICRS</OPTION>" + "<OPTION>ICRS</OPTION>"
+ "<OPTION>GALACTIC</OPTION>" + "<OPTION>GALACTIC</OPTION>"
+ "<OPTION>GRID</OPTION>"
+ "</VALUES>" + "</VALUES>"
+ "</PARAM>" + "</PARAM>"
...@@ -105,7 +104,6 @@ public class ServletCutout extends HttpServlet ...@@ -105,7 +104,6 @@ public class ServletCutout extends HttpServlet
+ "<VALUES>" + "<VALUES>"
+ "<OPTION>WAVE_Barycentric</OPTION>" + "<OPTION>WAVE_Barycentric</OPTION>"
+ "<OPTION>VELO_LSRK</OPTION>" + "<OPTION>VELO_LSRK</OPTION>"
+ "<OPTION>GRID</OPTION>"
+ "</VALUES>" + "</VALUES>"
+ "</PARAM>" + "</PARAM>"
......
...@@ -81,7 +81,7 @@ public class VlkbServletFile ...@@ -81,7 +81,7 @@ public class VlkbServletFile
private String capsStr = null; private String capsStr = null;
protected void SetCapsStr(String URL, String funcName) protected void SetCapsStr(String URL)
{ {
if(URL != null) if(URL != null)
{ {
...@@ -115,19 +115,19 @@ public class VlkbServletFile ...@@ -115,19 +115,19 @@ public class VlkbServletFile
+ " <capability standardID=\"ivo://ivoa.net/std/SODA#sync-1.0\">" + " <capability standardID=\"ivo://ivoa.net/std/SODA#sync-1.0\">"
+ " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">" + " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">"
+ " <accessURL use=\"full\">" + " <accessURL use=\"full\">"
+ accessURL + "/" + funcName + accessURL + "/sync"
+ " </accessURL>" + " </accessURL>"
+ " </interface>" + " </interface>"
+ " </capability>" + " </capability>"
/*
+ " <capability standardID=\"ivo://ivoa.net/std/SODA#async-1.0\">" + " <capability standardID=\"ivo://ivoa.net/std/SODA#async-1.0\">"
+ " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">" + " <interface xsi:type=\"vod:ParamHTTP\" role=\"std\" version=\"1.0\">"
+ " <accessURL use=\"full\">" + " <accessURL use=\"full\">"
+ accessURL + "/" + funcName + "_uws/soda_cuts" + accessURL + "/async/uws"
+ " </accessURL>" + " </accessURL>"
+ " </interface>" + " </interface>"
+ " </capability>" + " </capability>"
*/
+ "</vosi:capabilities>"; + "</vosi:capabilities>";
} }
} }
...@@ -168,7 +168,7 @@ public class VlkbServletFile ...@@ -168,7 +168,7 @@ public class VlkbServletFile
String fullURL = request.getRequestURL().toString(); String fullURL = request.getRequestURL().toString();
String baseURL = fullURL.substring(0,requestURL.lastIndexOf("/")); String baseURL = fullURL.substring(0,requestURL.lastIndexOf("/"));
SetCapsStr(baseURL, "soda"); SetCapsStr(baseURL);
writer.println(capsStr); writer.println(capsStr);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment