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